aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2005-11-02 22:18:56 +0000
committerAndreas Schwab2005-11-02 22:18:56 +0000
commitc80eca71953342d01e93f505d85bf2a0671e4d90 (patch)
treef2582939dfc7e795455ac6fad39bdb3408eaf78c
parent4cd305ac3392e312cc124b9b7c682e06e38e9ea6 (diff)
downloademacs-c80eca71953342d01e93f505d85bf2a0671e4d90.tar.gz
emacs-c80eca71953342d01e93f505d85bf2a0671e4d90.zip
(byte-optimize-pure-func): Quote the
folded value.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/byte-opt.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4dc085cb0e7..1b3f6b78c57 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12005-11-02 Andreas Schwab <schwab@suse.de>
2
3 * emacs-lisp/byte-opt.el (byte-optimize-pure-func): Quote the
4 folded value.
5
12005-11-02 Nick Roberts <nickrob@snap.net.nz> 62005-11-02 Nick Roberts <nickrob@snap.net.nz>
2 7
3 * progmodes/gdb-ui.el (gdb-mouse-until): Make it work in 8 * progmodes/gdb-ui.el (gdb-mouse-until): Make it work in
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index 1cda03ad0d5..8711a05e2d9 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -1135,7 +1135,7 @@ of FORM by signaling the error at compile-time."
1135 (setq constant nil)) 1135 (setq constant nil))
1136 (setq args (cdr args))) 1136 (setq args (cdr args)))
1137 (if constant 1137 (if constant
1138 (cons 'quote (eval form)) 1138 (list 'quote (eval form))
1139 form))) 1139 form)))
1140 1140
1141;; Avoid having to write forward-... with a negative arg for speed. 1141;; Avoid having to write forward-... with a negative arg for speed.