diff options
Diffstat (limited to 'lisp/org-ctags.el')
-rw-r--r-- | lisp/org-ctags.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/org-ctags.el b/lisp/org-ctags.el index 833c1dd..9d8ed6c 100644 --- a/lisp/org-ctags.el +++ b/lisp/org-ctags.el @@ -131,7 +131,7 @@ ;; ;; (progn ;; (message "-- rebuilding tags tables...") -;; (mapc 'org-create-tags tags-table-list)) +;; (mapc 'org-ctags-create-tags tags-table-list)) ;;; Code: @@ -156,11 +156,8 @@ Format is: /REGEXP/TAGNAME/FLAGS,TAGTYPE/ See the ctags documentation for more information.") (defcustom org-ctags-path-to-ctags - (case system-type - (windows-nt "ctags.exe") - (darwin "ctags-exuberant") - (t "ctags-exuberant")) - "Full path to the ctags executable file." + (if (executable-find "ctags-exuberant") "ctags-exuberant" "ctags") + "Name of the ctags executable file." :group 'org-ctags :version "24.1" :type 'file) |