emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 6d410fb: ; Fix previous commit


From: Mark Oteiza
Subject: [Emacs-diffs] master 6d410fb: ; Fix previous commit
Date: Wed, 7 Dec 2016 14:43:56 +0000 (UTC)

branch: master
commit 6d410fb03c53a892d2cf19238b15c5957ec1a7d8
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    ; Fix previous commit
---
 lisp/image-dired.el |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/lisp/image-dired.el b/lisp/image-dired.el
index ee5678f..7978f07 100644
--- a/lisp/image-dired.el
+++ b/lisp/image-dired.el
@@ -841,11 +841,10 @@ thumbnail buffer to be selected."
           (goto-char (point-max)))
         (dolist (curr-file files)
           (setq thumb-name (image-dired-thumb-name curr-file))
-          (when (not (file-exists-p thumb-name))
-            (if (and (not (file-exists-p thumb-name))
-                     (not (= 0 (image-dired-create-thumb curr-file 
thumb-name))))
-                (message "Thumb could not be created for file %s" curr-file)
-              (image-dired-insert-thumbnail thumb-name curr-file dired-buf)))))
+          (if (and (not (file-exists-p thumb-name))
+                   (not (= 0 (image-dired-create-thumb curr-file thumb-name))))
+              (message "Thumb could not be created for file %s" curr-file)
+            (image-dired-insert-thumbnail thumb-name curr-file dired-buf))))
       (if do-not-pop
           (display-buffer buf)
         (pop-to-buffer buf))



reply via email to

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