From d3a139427038374277456b8dbaa910eec2f9ee32 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 10 Feb 2024 22:18:10 +0100 Subject: [PATCH] fixup! org-ctags.el: Fix use of "ctags" executable * lisp/org-ctags.el (org-ctags-create-tags): Quote spaces and other special characters in path. --- 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 693ccc87b..9d9028704 100644 --- a/lisp/org-ctags.el +++ b/lisp/org-ctags.el @@ -488,7 +488,7 @@ its subdirectories contain large numbers of taggable files." org-ctags-path-to-ctags org-ctags-tag-regexp (expand-file-name (concat dir-name "/TAGS")) - (expand-file-name (concat dir-name "/*"))))) + (expand-file-name (concat (shell-quote-argument dir-name) "/*"))))) (cond ((eql 0 exitcode) (setq-local org-ctags-tag-list