summaryrefslogtreecommitdiff
path: root/lisp/registry.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-10-12 10:31:22 -0700
committerGlenn Morris <rgm@gnu.org>2018-10-12 10:31:22 -0700
commit6cf4dfe472650b3396d2f2592726621a43896de3 (patch)
treeb82eb4cee02005ab4ea5ec9c9e88f73fb5c79e81 /lisp/registry.el
parentc3856d46f53a1081085a97d0e514efe29e8529d7 (diff)
parent643df633ea8afafce661a20b54676691f59a68ce (diff)
downloademacs-6cf4dfe472650b3396d2f2592726621a43896de3.tar.gz
Merge from origin/emacs-26
643df63 (origin/emacs-26) Avoid byte-compiler warning in em-rebind.el d0eca49 ; * doc/emacs/mark.texi (Disabled Transient Mark): Fix last c... af80b10 Improve indexing of 'C-SPC C-SPC' 89a7301 ; * doc/lispref/internals.texi (Writing Dynamic Modules): Fix... a108eaa Fix bug with precious entries in Gnus registry ce8b458 Document in the ELisp manual how to write loadable modules a7ebc6b dired-do-shell-command: Notify users after abort the command # Conflicts: # lisp/registry.el
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 4928dd9b202..c3184a820f3 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-safe entry-key) precious))))
+ (memq (car-safe entry-key) precious)))
(data (oref db data))
(candidates (cl-loop for k being the hash-keys of data
using (hash-values v)