1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 14:02:07 -08:00

* lisp/emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.

This commit is contained in:
Stefan Monnier 2014-04-22 21:40:35 -04:00
parent 1b0f10d2df
commit ddc13efd70
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
* dired.el (dired-insert-set-properties): Do not consider

View file

@ -1548,7 +1548,8 @@ If BODY is `setq', then use SPECS for assignments rather than for bindings."
(if (and (cl--unused-var-p temp) (null expr))
nil ;; Don't bother declaring/setting `temp' since it won't
;; be used when `expr' is nil, anyway.
(when (or (null temp) (cl--unused-var-p temp))
(when (or (null temp)
(and (eq body 'setq) (cl--unused-var-p temp)))
;; Prefer a fresh uninterned symbol over "_to", to avoid
;; warnings that we set an unused variable.
(setq temp (make-symbol "--cl-var--"))