summaryrefslogtreecommitdiff
path: root/lisp/registry.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/registry.el')
-rw-r--r--lisp/registry.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/registry.el b/lisp/registry.el
index 95097a4f1b7..04f3e7b974c 100644
--- a/lisp/registry.el
+++ b/lisp/registry.el
@@ -358,7 +358,7 @@ return LIMIT such candidates. If SORTFUNC is provided, sort
entries first and return candidates from beginning of list."
(let* ((precious (oref db precious))
(precious-p (lambda (entry-key)
- (cdr (memq (car entry-key) precious))))
+ (memq (car entry-key) precious)))
(data (oref db data))
(candidates (cl-loop for k being the hash-keys of data
using (hash-values v)