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

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

[elpa] externals/shell-command+ 5fbe4d8 7/9: Strip away all trailing whi


From: Stefan Monnier
Subject: [elpa] externals/shell-command+ 5fbe4d8 7/9: Strip away all trailing whitespace
Date: Wed, 19 May 2021 21:58:04 -0400 (EDT)

branch: externals/shell-command+
commit 5fbe4d89e6672224d86f0851be431c0eced0c5cb
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>

    Strip away all trailing whitespace
---
 shell-command+.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/shell-command+.el b/shell-command+.el
index ba6565d..c482449 100644
--- a/shell-command+.el
+++ b/shell-command+.el
@@ -95,8 +95,10 @@ handlers if the symbol (eg. `man') is contained in the list."
       (* space)
       ;; actual command (and command name)
       (group (group (+ (not space)))
-             (* space)
+             (*? space)
              (*? not-newline))
+      ;; ignore all trailing whitespace
+      (* space)
       eos)
   "Regular expression to parse `shell-command+' input.")
 



reply via email to

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