Tune cl-assoc
* lisp/emacs-lisp/cl-seq.el (cl-assoc): Use assq for fixnums.
This commit is contained in:
parent
b5e41e8ba3
commit
bee3cc604d
1 changed files with 1 additions and 1 deletions
|
@ -742,7 +742,7 @@ Return the sublist of LIST whose car matches.
|
|||
(not (cl--check-test cl-item (car (car cl-alist))))))
|
||||
(setq cl-alist (cdr cl-alist)))
|
||||
(and cl-alist (car cl-alist)))
|
||||
(if (numberp cl-item)
|
||||
(if (and (numberp cl-item) (not (fixnump cl-item)))
|
||||
(assoc cl-item cl-alist)
|
||||
(assq cl-item cl-alist))))
|
||||
(autoload 'cl--compiler-macro-assoc "cl-macs")
|
||||
|
|
Loading…
Add table
Reference in a new issue