emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 1531bca: Fix help-form binding in dired-create-fi


From: Michael Heerdegen
Subject: [Emacs-diffs] emacs-26 1531bca: Fix help-form binding in dired-create-files
Date: Sat, 20 Oct 2018 12:54:02 -0400 (EDT)

branch: emacs-26
commit 1531bca523ea84c20eec9ce1dde0202a78956313
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>

    Fix help-form binding in dired-create-files
    
    This fixes Bug#32630: since "dired-aux" moved to lexical binding mode,
    the free variable TO in the constructed HELP-FORM got out of scope of
    the surrounding 'let'.
    
    * lisp/dired-aux.el (dired-create-files): Make the binding of
    HELP-FORM a string.
---
 lisp/dired-aux.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index e406273..eaf5f25 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1712,7 +1712,7 @@ or with the current marker character if MARKER-CHAR is t."
           (let* ((overwrite (file-exists-p to))
                  (dired-overwrite-confirmed ; for dired-handle-overwrite
                   (and overwrite
-                       (let ((help-form '(format-message "\
+                       (let ((help-form (format-message "\
 Type SPC or `y' to overwrite file `%s',
 DEL or `n' to skip to next,
 ESC or `q' to not overwrite any of the remaining files,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]