diff options
| author | Stefan Monnier | 2012-10-18 08:56:10 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-10-18 08:56:10 -0400 |
| commit | 90eacf9920c2d9dc4edffdefe7e7a2a781493cc2 (patch) | |
| tree | ba5b10cc2c0e5af4f5017c44c9c12f268516d1e9 /lisp | |
| parent | b2f0135a62c6242ad8b865d37d65bb817f8d1262 (diff) | |
| download | emacs-90eacf9920c2d9dc4edffdefe7e7a2a781493cc2.tar.gz emacs-90eacf9920c2d9dc4edffdefe7e7a2a781493cc2.zip | |
* lisp/emacs-lisp/gv.el (cond): Same fix as before for `if'.
* Makefile.in ($(MAKEFILE_NAME)): Depend on src/lisp.mk as well.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/emacs-lisp/gv.el | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e799ead207b..8c8f88dc89b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/gv.el (cond): Same fix as before for `if'. | ||
| 4 | |||
| 1 | 2012-10-18 Glenn Morris <rgm@gnu.org> | 5 | 2012-10-18 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * dired.el (dired-sort-toggle): Some ls implementations only allow | 7 | * dired.el (dired-sort-toggle): Some ls implementations only allow |
| @@ -7,8 +11,8 @@ | |||
| 7 | 11 | ||
| 8 | 2012-10-17 Kenichi Handa <handa@gnu.org> | 12 | 2012-10-17 Kenichi Handa <handa@gnu.org> |
| 9 | 13 | ||
| 10 | * international/mule.el (set-keyboard-coding-system): Recover | 14 | * international/mule.el (set-keyboard-coding-system): |
| 11 | input meta mode when the new coding system doesn not use 8-bit. | 15 | Recover input meta mode when the new coding system doesn not use 8-bit. |
| 12 | Supply TERMINAL arg to set-input-meta-mode. | 16 | Supply TERMINAL arg to set-input-meta-mode. |
| 13 | 17 | ||
| 14 | 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change) | 18 | 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change) |
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el index 1a30d67fbbc..d6c91539a90 100644 --- a/lisp/emacs-lisp/gv.el +++ b/lisp/emacs-lisp/gv.el | |||
| @@ -377,7 +377,8 @@ The return value is the last VAL in the list. | |||
| 377 | 377 | ||
| 378 | (put 'cond 'gv-expander | 378 | (put 'cond 'gv-expander |
| 379 | (lambda (do &rest branches) | 379 | (lambda (do &rest branches) |
| 380 | (if (macroexp-small-p (funcall do 'dummy (lambda (_) 'dummy))) | 380 | (if (or (not lexical-binding) ;The other code requires lexical-binding. |
| 381 | (macroexp-small-p (funcall do 'dummy (lambda (_) 'dummy)))) | ||
| 381 | ;; This duplicates the `do' code, which is a problem if that | 382 | ;; This duplicates the `do' code, which is a problem if that |
| 382 | ;; code is large, but otherwise results in more efficient code. | 383 | ;; code is large, but otherwise results in more efficient code. |
| 383 | `(cond | 384 | `(cond |