diff options
| author | Stefan Monnier | 2015-10-29 09:25:18 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-10-29 10:31:40 -0400 |
| commit | c0d866dd690ffef08894dbce573c636ab0b42665 (patch) | |
| tree | 92d321fa368fa42f8b801c6991e23d3122d84b52 | |
| parent | 270a17fe4d357d64cfef7a3991e6a69db587a3fb (diff) | |
| download | emacs-c0d866dd690ffef08894dbce573c636ab0b42665.tar.gz emacs-c0d866dd690ffef08894dbce573c636ab0b42665.zip | |
* lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index d138effcd9d..db200f3c504 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -1901,7 +1901,10 @@ With argument ARG, insert value in current buffer after the form." | |||
| 1901 | (let ((read-with-symbol-positions (current-buffer)) | 1901 | (let ((read-with-symbol-positions (current-buffer)) |
| 1902 | (read-symbol-positions-list nil)) | 1902 | (read-symbol-positions-list nil)) |
| 1903 | (displaying-byte-compile-warnings | 1903 | (displaying-byte-compile-warnings |
| 1904 | (byte-compile-sexp (read (current-buffer))))) | 1904 | (byte-compile-sexp |
| 1905 | (eval-sexp-add-defvars | ||
| 1906 | (read (current-buffer)) | ||
| 1907 | byte-compile-read-position)))) | ||
| 1905 | lexical-binding))) | 1908 | lexical-binding))) |
| 1906 | (cond (arg | 1909 | (cond (arg |
| 1907 | (message "Compiling from buffer... done.") | 1910 | (message "Compiling from buffer... done.") |