org-clock.el (org-program-exists): Fix docstring.

* org-clock.el (org-program-exists): Fix docstring.

Thanks to Sébastien Vauban for reporting this.
This commit is contained in:
Bastien Guerry 2012-04-20 13:20:42 +02:00
parent d89823a75b
commit 41939cb04b
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ Use alsa's aplay tool if available."
(error (beep t) (beep t))))))))) (error (beep t) (beep t)))))))))
(defun org-program-exists (program-name) (defun org-program-exists (program-name)
"Checks whenever we can locate program and launch it." "Checks whenever we can locate PROGRAM-NAME using the `which' executable."
(if (member system-type '(gnu/linux darwin)) (if (member system-type '(gnu/linux darwin))
(= 0 (call-process "which" nil nil nil program-name)))) (= 0 (call-process "which" nil nil nil program-name))))