mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
add defconst support
This commit is contained in:
parent
f74ab3e9ef
commit
4c6272373d
1 changed files with 3 additions and 3 deletions
|
|
@ -283,9 +283,9 @@ Put PREFIX in front of it."
|
|||
(byte-compile-file filename)
|
||||
(setf (comp-ctxt-top-level-defvars comp-ctxt)
|
||||
(reverse (mapcar (lambda (x)
|
||||
(if (eq (car x) 'defvar)
|
||||
(cdr x)
|
||||
(cl-assert nil)))
|
||||
(ecase (car x)
|
||||
('defvar (cdr x))
|
||||
('defconst (cdr x))))
|
||||
byte-to-native-top-level-forms)))
|
||||
(cl-loop for (name lap bytecode) in byte-to-native-output
|
||||
for lambda-list = (aref bytecode 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue