From 944425c0c3bbee783b07c4fb5dc69a92c2c5355e Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 2 Oct 2000 17:44:51 +0000 Subject: [PATCH] (byte-optimize-lapcode): Don't bind unused vars. Treat byte-constant2 like byte-constant. Fix bogus comparison of opcode with operand. --- lisp/ChangeLog | 6 ++++++ lisp/emacs-lisp/byte-opt.el | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 017ff92aac2..5bc1ca906d5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2000-10-02 Dave Love + + * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind + unused vars. Treat byte-constant2 like byte-constant. Fix bogus + comparison of opcode with operand. + 2000-10-03 Miles Bader * play/yow.el (yow): Don't display multi-line quotations in a *Help* diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index e1cc0db3f36..c3c8e677239 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el @@ -1415,9 +1415,9 @@ (defun byte-optimize-lapcode (lap &optional for-effect) "Simple peephole optimizer. LAP is both modified and returned." - (let (lap0 off0 - lap1 off1 - lap2 off2 + (let (lap0 + lap1 + lap2 (keep-going 'first-time) (add-depth 0) rest tmp tmp2 tmp3 -- 2.39.2