; * lisp/emacs-lisp/byte-opt.el (byte-optimize-eq): Fix last change.
This commit is contained in:
parent
46d7d44894
commit
f9d7440814
1 changed files with 3 additions and 4 deletions
|
@ -970,10 +970,9 @@ See Info node `(elisp) Integer Basics'."
|
|||
form)))
|
||||
|
||||
(defun byte-optimize-eq (form)
|
||||
(byte-optimize-binary-predicate
|
||||
(pcase (cdr form)
|
||||
((or `(,x nil) `(nil ,x)) `(not ,x))
|
||||
(_ form))))
|
||||
(pcase (cdr form)
|
||||
((or `(,x nil) `(nil ,x)) `(not ,x))
|
||||
(_ (byte-optimize-binary-predicate form))))
|
||||
|
||||
(defun byte-optimize-member (form)
|
||||
;; Replace `member' or `memql' with `memq' if the first arg is a symbol,
|
||||
|
|
Loading…
Add table
Reference in a new issue