branch: externals/shell-command+ commit 9aaa4cb4d7d8bebeafcc0e8b8ba42a1d73bc5294 Author: Philip K <phil...@posteo.net> Commit: Philip K <phil...@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)