[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 4c4eba9 19/39: Fix repetition in callback.
From: |
Thierry Volpiatto |
Subject: |
[elpa] master 4c4eba9 19/39: Fix repetition in callback. |
Date: |
Wed, 18 May 2016 18:02:52 +0000 (UTC) |
branch: master
commit 4c4eba9f401e2b5aa05fa9c8efd0615fbbf0b74c
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>
Fix repetition in callback.
* dired-async.el (dired-async-create-files): Do it.
---
dired-async.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dired-async.el b/dired-async.el
index 418f265..4920e78 100644
--- a/dired-async.el
+++ b/dired-async.el
@@ -213,9 +213,9 @@ ESC or `q' to not overwrite any of the remaining files,
(dired-async-after-file-create ,total)
(when (string= ,(downcase operation) "rename")
(cl-loop for (file . to) in ',async-fn-list
- do (and (get-file-buffer file)
- (with-current-buffer (get-file-buffer file)
- (set-visited-file-name to nil t))))))))
+ for bf = (get-file-buffer file)
+ do (and bf (with-current-buffer bf
+ (set-visited-file-name to nil t))))))))
;; Handle error happening in host emacs.
(cond (failures
(dired-log-summary
- [elpa] master 9a82294 26/39: DRY use apply., (continued)
- [elpa] master 9a82294 26/39: DRY use apply., Thierry Volpiatto, 2016/05/18
- [elpa] master 1c57dc3 31/39: Better handling of errors happening on child., Thierry Volpiatto, 2016/05/18
- [elpa] master dd09794 33/39: Fix success message on callback., Thierry Volpiatto, 2016/05/18
- [elpa] master 14170a4 35/39: Add more info in mode-line on failures., Thierry Volpiatto, 2016/05/18
- [elpa] master 6e29e82 17/39: Switch to lexical-binding., Thierry Volpiatto, 2016/05/18
- [elpa] master 0e327f7 37/39: Update version number here too., Thierry Volpiatto, 2016/05/18
- [elpa] master 6521911 07/39: Merge pull request #59 from kolewu/kolewu-fix-typo-1, Thierry Volpiatto, 2016/05/18
- [elpa] master cd901e7 12/39: Improve backup-files by handling symlinks and time-stamp errors., Thierry Volpiatto, 2016/05/18
- [elpa] master e8db6cc 36/39: Update pkg file., Thierry Volpiatto, 2016/05/18
- [elpa] master 527c590 38/39: Merge commit '0e327f72bdffc5bc4a1fbc34a8da1b7066e819b3', Thierry Volpiatto, 2016/05/18
- [elpa] master 4c4eba9 19/39: Fix repetition in callback.,
Thierry Volpiatto <=
- [elpa] master 6552135 32/39: Improve how error buffer is displayed., Thierry Volpiatto, 2016/05/18
- [elpa] master d1cc5e0 04/39: Fix UTF-8 encoding for strings passed to subordinate Emacs, Thierry Volpiatto, 2016/05/18