diff options
| author | Kenichi Handa | 2012-11-23 23:36:24 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-11-23 23:36:24 +0900 |
| commit | 2aaec2d9be5cec44ea3b59cba476fd3e091f2fc9 (patch) | |
| tree | 3711b97807201b7eeaa066003b1c3a4ce929e5bb /lisp/emacs-lisp/bytecomp.el | |
| parent | e1d276cbf9e18f13101328f56bed1a1c0a66e63a (diff) | |
| parent | e7d0e5ee247a155a268ffbf80bedbe25e15b5032 (diff) | |
| download | emacs-2aaec2d9be5cec44ea3b59cba476fd3e091f2fc9.tar.gz emacs-2aaec2d9be5cec44ea3b59cba476fd3e091f2fc9.zip | |
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index a325e0f3e44..60036c86dc0 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -2509,8 +2509,8 @@ If FORM is a lambda or a macro, byte-compile it as a function." | |||
| 2509 | (when (symbolp form) | 2509 | (when (symbolp form) |
| 2510 | (unless (memq (car-safe fun) '(closure lambda)) | 2510 | (unless (memq (car-safe fun) '(closure lambda)) |
| 2511 | (error "Don't know how to compile %S" fun)) | 2511 | (error "Don't know how to compile %S" fun)) |
| 2512 | (setq fun (byte-compile--reify-function fun)) | 2512 | (setq lexical-binding (eq (car fun) 'closure)) |
| 2513 | (setq lexical-binding (eq (car fun) 'closure))) | 2513 | (setq fun (byte-compile--reify-function fun))) |
| 2514 | (unless (eq (car-safe fun) 'lambda) | 2514 | (unless (eq (car-safe fun) 'lambda) |
| 2515 | (error "Don't know how to compile %S" fun)) | 2515 | (error "Don't know how to compile %S" fun)) |
| 2516 | ;; Expand macros. | 2516 | ;; Expand macros. |