branch: externals/orderless
commit 24cfe928e4f037d4da0f680e0a9477bd87c02e1c
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>

    Minor tweaks
---
 orderless.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/orderless.el b/orderless.el
index c0219ea19d..a23a9970d5 100644
--- a/orderless.el
+++ b/orderless.el
@@ -45,14 +45,14 @@
 
 ;;; Code:
 
-(defun orderless-all-completions (string table pred point)
+(defun orderless-all-completions (string table pred _point)
   (let* ((lim (car (completion-boundaries string table pred "")))
          (prefix (substring string 0 lim))
          (all (all-completions prefix table pred))
          (regexps (split-string (substring string lim))))
     (when minibuffer-completing-file-name
       (setq all (completion-pcm--filename-try-filter all)))
-    (condition-case err
+    (condition-case nil
         (nconc
          (cl-loop for candidate in all
                   when (cl-loop for regexp in regexps

Reply via email to