emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/pcmpl-args e6957896b0 15/33: Add shell-quote-argument to n


From: ELPA Syncer
Subject: [nongnu] elpa/pcmpl-args e6957896b0 15/33: Add shell-quote-argument to name
Date: Mon, 31 Jan 2022 11:59:23 -0500 (EST)

branch: elpa/pcmpl-args
commit e6957896b065e2fda80a8258dfebb86b49742c15
Author: Troy Hinckley <t.macman@gmail.com>
Commit: GitHub <noreply@github.com>

    Add shell-quote-argument to name
---
 pcmpl-args.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcmpl-args.el b/pcmpl-args.el
index 5baa5f246a..9388f67624 100644
--- a/pcmpl-args.el
+++ b/pcmpl-args.el
@@ -789,7 +789,7 @@ insert its content into the current buffer.")
     ;; starting with `-' that aren't really options.
     (push "MANWIDTH=10000" process-environment)
     (pcmpl-args-process-file
-     shell-file-name shell-command-switch (format "man %s | col -b" name))))
+     shell-file-name shell-command-switch (format "man %s | col -b" 
(shell-quote-argument name)))))
 
 (defun pcmpl-args-extract-argspecs-from-manpage (name &rest args)
   "Return a list of argspecs by parsing the manpage identified by NAME.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]