[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/rec-mode 0ea7b18 80/98: rec-mode: quote the shell argum
From: |
Stefan Monnier |
Subject: |
[elpa] externals/rec-mode 0ea7b18 80/98: rec-mode: quote the shell argument with the file name when invoking recfix. |
Date: |
Thu, 12 Nov 2020 13:18:45 -0500 (EST) |
branch: externals/rec-mode
commit 0ea7b1857df9c1c9d2028bd9bfa1d5f01b2449bc
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Commit: Antoine Kalmbach <ane@iki.fi>
rec-mode: quote the shell argument with the file name when invoking recfix.
---
etc/rec-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/rec-mode.el b/etc/rec-mode.el
index a47e3bd..f0d4804 100644
--- a/etc/rec-mode.el
+++ b/etc/rec-mode.el
@@ -1965,7 +1965,7 @@ This command is especially useful with enumerated types."
(cmd (concat rec-recfix " "))
(tmpfile (make-temp-file "rec-mode-")))
(if buffer-file-name
- (setq cmd (concat cmd buffer-file-name))
+ (setq cmd (concat cmd (shell-quote-argument buffer-file-name)))
(with-temp-file tmpfile
(insert-buffer-substring cur-buf))
(setq cmd (concat cmd tmpfile)))
- [elpa] externals/rec-mode eaf5e93 60/98: rec-mode: support for a mode hook., (continued)
- [elpa] externals/rec-mode eaf5e93 60/98: rec-mode: support for a mode hook., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 4b485a0 76/98: rec-mode: several fixes while removing byte-compilation warnings., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 80b2815 75/98: rec-mode: fix selection commands when there are more than one record sets on the recfile., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode d97175a 82/98: rec-mode: define faces and use them, Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode e94505f 95/98: README, COPYING, Info fixes, Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 472f378 39/98: rec-mode: initial work for selection., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 20c3d6f 51/98: Do not kill the preceding empty line., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode f106531 62/98: rec-mode: do the right thing when the selected window is the only window in the frame., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 8d404d8 56/98: rec-mode: fixed to allow comments in records., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 113747c 71/98: maint: syntax-check fixes., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 0ea7b18 80/98: rec-mode: quote the shell argument with the file name when invoking recfix.,
Stefan Monnier <=
- [elpa] externals/rec-mode c302e6e 79/98: Copyright years updated to 2015., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 98b98ad 81/98: Quote the file name argument before to pass it to recfix in a shell., Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 3ac3482 83/98: ob-rec.el: switch to lexical-binding, Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 5fa6020 92/98: Font lock fixes and many small checkdoc fixes, Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode d0e8456 98/98: Improve regexp that matched on empty strings, Stefan Monnier, 2020/11/12
- [elpa] externals/rec-mode 299b496 44/98: rec-mode: support for generating time-stamps in date fields., Stefan Monnier, 2020/11/12