mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
Constant-propagate (function SYMBOL)
* lisp/emacs-lisp/byte-opt.el (byte-optimize--substitutable-p): Consider #'SYMBOL a constant for compile-time propagation purposes.
This commit is contained in:
parent
a517b77ffe
commit
6b41d7da95
@ -343,7 +343,7 @@ Same format as `byte-optimize--lexvars', with shared structure and contents.")
|
||||
(numberp expr)
|
||||
(stringp expr)
|
||||
(and (consp expr)
|
||||
(eq (car expr) 'quote)
|
||||
(memq (car expr) '(quote function))
|
||||
(symbolp (cadr expr)))
|
||||
(keywordp expr)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user