Backport commit 9082b4e6e from Emacs

* lisp/org-ctags.el (org-ctags-path-to-ctags): Use new variables.

Make binaries distributed with Emacs work on Android
9082b4e6ee27b995cbb61668cb437d7b91c7f5f8
Po Lu
Tue Jan 24 21:37:22 2023 +0800

[km] A follow-up commit will adjust this to be compatible with Emacs <
     30.
This commit is contained in:
Po Lu 2023-01-24 21:37:22 +08:00 committed by Kyle Meyer
parent 4bd1c59d83
commit 525df5272d
1 changed files with 3 additions and 1 deletions

View File

@ -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)