summaryrefslogtreecommitdiff
path: root/cape.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-02-27 04:16:10 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2022-02-27 04:16:10 +0100
commitfc7a20be524d0faa848ba2a16a80767a445a1391 (patch)
tree85a1244312a3fc28427fd85b830d5981eab021b2 /cape.el
parente93aff671929177263068edfe5894e192840c3fe (diff)
Minor cleanup
Diffstat (limited to 'cape.el')
-rw-r--r--cape.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cape.el b/cape.el
index 00cc373..7668d69 100644
--- a/cape.el
+++ b/cape.el
@@ -868,7 +868,7 @@ If INTERACTIVE is nil the function acts like a capf."
(puthash cand plist ht)
(setcar cell nil)))
(setq candidates (nconc candidates cands))))
- (setq cache-filter (list str (copy-sequence completion-regexp-list) completion-ignore-case)
+ (setq cache-filter filter
cache-candidates (delq nil candidates)
cache-ht ht))))
(copy-sequence cache-candidates))