mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
(byte-optimize-plus): Fix 1-arg case.
This commit is contained in:
parent
b1ae662fa6
commit
ea9d637111
1 changed files with 4 additions and 0 deletions
|
|
@ -700,6 +700,10 @@
|
|||
;;; (actually, it would be safe if we know the sole arg
|
||||
;;; is not a marker).
|
||||
;; ((null (cdr (cdr form))) (nth 1 form))
|
||||
((null (cddr form))
|
||||
(if (numberp (nth 1 form))
|
||||
(nth 1 form)
|
||||
form))
|
||||
((and (null (nthcdr 3 form))
|
||||
(or (memq (nth 1 form) '(1 -1))
|
||||
(memq (nth 2 form) '(1 -1))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue