diff options
| author | Stefan Monnier | 2014-04-22 21:40:35 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-04-22 21:40:35 -0400 |
| commit | ddc13efd7096bf8cb745cd7b03b6f064747680bc (patch) | |
| tree | 7457f3ed21993c462fa9968850afb9e2ec7f3e66 | |
| parent | 1b0f10d2df1c58921644fe286dfb7a159fa56904 (diff) | |
| download | emacs-ddc13efd7096bf8cb745cd7b03b6f064747680bc.tar.gz emacs-ddc13efd7096bf8cb745cd7b03b6f064747680bc.zip | |
* lisp/emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3caac76cb8b..1f94ba4c45a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge. | ||
| 4 | |||
| 1 | 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de> | 5 | 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de> |
| 2 | 6 | ||
| 3 | * dired.el (dired-insert-set-properties): Do not consider | 7 | * dired.el (dired-insert-set-properties): Do not consider |
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index c9f5f68a4d3..58c3638b58b 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el | |||
| @@ -1548,7 +1548,8 @@ If BODY is `setq', then use SPECS for assignments rather than for bindings." | |||
| 1548 | (if (and (cl--unused-var-p temp) (null expr)) | 1548 | (if (and (cl--unused-var-p temp) (null expr)) |
| 1549 | nil ;; Don't bother declaring/setting `temp' since it won't | 1549 | nil ;; Don't bother declaring/setting `temp' since it won't |
| 1550 | ;; be used when `expr' is nil, anyway. | 1550 | ;; be used when `expr' is nil, anyway. |
| 1551 | (when (or (null temp) (cl--unused-var-p temp)) | 1551 | (when (or (null temp) |
| 1552 | (and (eq body 'setq) (cl--unused-var-p temp))) | ||
| 1552 | ;; Prefer a fresh uninterned symbol over "_to", to avoid | 1553 | ;; Prefer a fresh uninterned symbol over "_to", to avoid |
| 1553 | ;; warnings that we set an unused variable. | 1554 | ;; warnings that we set an unused variable. |
| 1554 | (setq temp (make-symbol "--cl-var--")) | 1555 | (setq temp (make-symbol "--cl-var--")) |