summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Huelga <rhuelga@gmail.com>2011-12-11 13:50:36 +0100
committerBastien Guerry <bzg@altern.org>2011-12-11 13:50:36 +0100
commita39328cddf0fd4a8061d9aaea391910af9ebbff8 (patch)
tree9381f6ab9767b7637f0cea2cac01378b18729030
parentbc607a9af46095035b1c0271b73d61ba4d6608d6 (diff)
downloadorg-mode-a39328cddf0fd4a8061d9aaea391910af9ebbff8.tar.gz
Make the function `org-program-exists' work on osx.
* org-clock.el (org-program-exists): Make the function compatible with darwin systems.
-rw-r--r--lisp/org-clock.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 2534229..9c6cd80 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -658,7 +658,7 @@ Use alsa's aplay tool if available."
(defun org-program-exists (program-name)
"Checks whenever we can locate program and launch it."
- (if (eq system-type 'gnu/linux)
+ (if (member system-type '(gnu/linux darwin))
(= 0 (call-process "which" nil nil nil program-name))))
(defvar org-clock-mode-line-entry nil