summaryrefslogtreecommitdiff
path: root/lisp/org/org-ctags.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org/org-ctags.el')
-rw-r--r--lisp/org/org-ctags.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org/org-ctags.el b/lisp/org/org-ctags.el
index d583048507b..2417353ee5d 100644
--- a/lisp/org/org-ctags.el
+++ b/lisp/org/org-ctags.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2007-2024 Free Software Foundation, Inc.
;; Author: Paul Sexton <eeeickythump@gmail.com>
-;; Keywords: org, wp
+;; Keywords: org, text
;; This file is part of GNU Emacs.
;;
@@ -156,7 +156,9 @@ Format is: /REGEXP/TAGNAME/FLAGS,TAGTYPE/
See the ctags documentation for more information.")
(defcustom org-ctags-path-to-ctags
- (if (executable-find "ctags-exuberant") "ctags-exuberant" "ctags")
+ (if (executable-find "ctags-exuberant")
+ "ctags-exuberant"
+ ctags-program-name)
"Name of the ctags executable file."
:version "24.1"
:type 'file)