changeset 20414:c42c4f60ecbb

(byte-optimize-lapcode): Correctly distinguish byte-constant from operations on variables.
author Karl Heuer <kwzh@gnu.org>
date Thu, 04 Dec 1997 05:58:56 +0000
parents 7d1e9fc47f9d
children 2231e5768185
files lisp/emacs-lisp/byte-opt.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/byte-opt.el	Thu Dec 04 05:56:22 1997 +0000
+++ b/lisp/emacs-lisp/byte-opt.el	Thu Dec 04 05:58:56 1997 +0000
@@ -1826,7 +1826,7 @@
       (setq lap0 (car rest)
 	    lap1 (nth 1 rest))
       (if (memq (car lap0) byte-constref-ops)
-	  (if (eq (cdr lap0) 'byte-constant)
+	  (if (not (eq (car lap0) 'byte-constant))
 	      (or (memq (cdr lap0) byte-compile-variables)
 		  (setq byte-compile-variables (cons (cdr lap0)
 						     byte-compile-variables)))