Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4cd305ac
Commit
4cd305ac
authored
Nov 02, 2005
by
Stefan Monnier
Browse files
(byte-optimize-pure-func): Quote the eval'd value so it's not re-eval'd.
parent
1c7c774b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/emacs-lisp/byte-opt.el
lisp/emacs-lisp/byte-opt.el
+1
-1
No files found.
lisp/emacs-lisp/byte-opt.el
View file @
4cd305ac
...
...
@@ -1135,7 +1135,7 @@ of FORM by signaling the error at compile-time."
(
setq
constant
nil
))
(
setq
args
(
cdr
args
)))
(
if
constant
(
eval
form
)
(
cons
'quote
(
eval
form
)
)
form
)))
;; Avoid having to write forward-... with a negative arg for speed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment