diff options
| author | Andreas Schwab | 2005-11-02 22:18:56 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2005-11-02 22:18:56 +0000 |
| commit | c80eca71953342d01e93f505d85bf2a0671e4d90 (patch) | |
| tree | f2582939dfc7e795455ac6fad39bdb3408eaf78c | |
| parent | 4cd305ac3392e312cc124b9b7c682e06e38e9ea6 (diff) | |
| download | emacs-c80eca71953342d01e93f505d85bf2a0671e4d90.tar.gz emacs-c80eca71953342d01e93f505d85bf2a0671e4d90.zip | |
(byte-optimize-pure-func): Quote the
folded value.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/byte-opt.el | 2 |
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 @@ | |||
| 1 | 2005-11-02 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * emacs-lisp/byte-opt.el (byte-optimize-pure-func): Quote the | ||
| 4 | folded value. | ||
| 5 | |||
| 1 | 2005-11-02 Nick Roberts <nickrob@snap.net.nz> | 6 | 2005-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. |