* lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
This commit is contained in:
parent
270a17fe4d
commit
c0d866dd69
1 changed files with 4 additions and 1 deletions
|
@ -1901,7 +1901,10 @@ With argument ARG, insert value in current buffer after the form."
|
|||
(let ((read-with-symbol-positions (current-buffer))
|
||||
(read-symbol-positions-list nil))
|
||||
(displaying-byte-compile-warnings
|
||||
(byte-compile-sexp (read (current-buffer)))))
|
||||
(byte-compile-sexp
|
||||
(eval-sexp-add-defvars
|
||||
(read (current-buffer))
|
||||
byte-compile-read-position))))
|
||||
lexical-binding)))
|
||||
(cond (arg
|
||||
(message "Compiling from buffer... done.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue