From a6719edafd928a5ce27036be5d5bec00eaafa8ec Mon Sep 17 00:00:00 2001 From: Martin Marshall Date: Fri, 9 Feb 2024 17:40:03 -0500 Subject: [PATCH] org-ctags.el: Fix use of "ctags" executable * lisp/org/org-ctags.el (org-ctags-create-tags): Allow file globbing in `shell-command' invocation of "ctags". TINYCHANGE --- lisp/org/org-ctags.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org/org-ctags.el b/lisp/org/org-ctags.el index 2417353ee5d..9e523e7dc67 100644 --- a/lisp/org/org-ctags.el +++ b/lisp/org/org-ctags.el @@ -486,7 +486,7 @@ org-ctags-create-tags (setq exitcode (shell-command (format (concat "%s --langdef=orgmode --langmap=orgmode:.org " - "--regex-orgmode=\"%s\" -f \"%s\" -e -R \"%s\"") + "--regex-orgmode=\"%s\" -f \"%s\" -e -R %s") org-ctags-path-to-ctags org-ctags-tag-regexp (expand-file-name (concat dir-name "/TAGS")) -- 2.39.2