From 981402a93df7ac50cb40b23e84b8aa2f313d4e24 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-ctags.el (org-ctags-create-tags): Allow file globbing in `shell-command' invocation of "ctags". TINYCHANGE --- lisp/org-ctags.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-ctags.el b/lisp/org-ctags.el index a36034149..693ccc87b 100644 --- a/lisp/org-ctags.el +++ b/lisp/org-ctags.el @@ -484,7 +484,7 @@ its subdirectories contain large numbers of taggable files." (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"))