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

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

[elpa] externals/shell-command+ 9aaa4cb 07/13: Accept only one argument


From: Stefan Monnier
Subject: [elpa] externals/shell-command+ 9aaa4cb 07/13: Accept only one argument in locate
Date: Sun, 23 May 2021 13:41:26 -0400 (EDT)

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

    Accept only one argument in locate
---
 shell-command+.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shell-command+.el b/shell-command+.el
index 92c32d8..43fd286 100644
--- a/shell-command+.el
+++ b/shell-command+.el
@@ -165,7 +165,7 @@ If EXPAND is non-nil, expand wildcards."
 
 (defun shell-command+-cmd-locate (command)
   "Convert COMMAND into a `locate' call."
-  (pcase-let ((`(,_ . ,search) (shell-command+-tokenize command)))
+  (pcase-let ((`(,_ ,search) (shell-command+-tokenize command)))
     (locate search)))
 
 (defun shell-command+-cmd-man (command)



reply via email to

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