diff options
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/files.el b/lisp/files.el index d498e5b7d2d..99bff296f16 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -6682,12 +6682,12 @@ auto-save file, if that is more recent than the visited file." (abbreviate-file-name file-name))) ((with-temp-buffer-window "*Directory*" nil - (lambda (window _value) - (with-selected-window window - (unwind-protect - (yes-or-no-p (format "Recover auto save file %s? " file-name)) - (when (window-live-p window) - (quit-restore-window window 'kill))))) + #'(lambda (window _value) + (with-selected-window window + (unwind-protect + (yes-or-no-p (format "Recover auto save file %s? " file-name)) + (when (window-live-p window) + (quit-restore-window window 'kill))))) (with-current-buffer standard-output (let ((switches dired-listing-switches)) (if (file-symlink-p file) |