org-mac-link.el: Don't fail on machines without Growl installed
commite207062a87f02ded30b73683dfd6c55d02440aff
authorSteve Purcell <steve@sanityinc.com>
Wed, 24 Sep 2014 11:07:20 +0000 (24 12:07 +0100)
committerAlan Schmitt <alan.schmitt@polytechnique.org>
Thu, 9 Oct 2014 11:39:00 +0000 (9 13:39 +0200)
treed70e6d2760c89d3a737e7e414ecbf5716eee1b9f
parent2900f18a2b3661dab6d8c76019ac7bc64c9bc88b
org-mac-link.el: Don't fail on machines without Growl installed

* contrib/lisp/org-mac-link.el (org-as-get-flagged-mail): Don't assume Growl is installed.

Applescript can't run if it refers to uninstalled apps, so since Growl is not universally
installed, references to it should be dropped. This change also provides a less cryptic
message when `org-mac-mail-account' is unset at the time flagged messages are grabbed.

TINYCHANGE

Signed-off-by: Alan Schmitt <alan.schmitt@polytechnique.org>
contrib/lisp/org-mac-link.el