summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Antolín <omar.antolin@gmail.com>2020-04-13 22:59:06 -0500
committerOmar Antolín <omar.antolin@gmail.com>2020-04-13 22:59:06 -0500
commit24cfe928e4f037d4da0f680e0a9477bd87c02e1c (patch)
treec40c8219cdae9726a3f90afc79aa527f7c912aed
parent2be7bf8c3df10a3bf5489677cff8a878ec0c93ec (diff)
Minor tweaks
-rw-r--r--orderless.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/orderless.el b/orderless.el
index c0219ea..a23a997 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