diff options
| author | Mark Oteiza | 2016-12-07 09:43:27 -0500 |
|---|---|---|
| committer | Mark Oteiza | 2016-12-07 09:43:27 -0500 |
| commit | 6d410fb03c53a892d2cf19238b15c5957ec1a7d8 (patch) | |
| tree | 39e7a28043f423bd3743cd30e7b92f910f9e1774 | |
| parent | 909bce32d542042c24048766b0519704c604d1c1 (diff) | |
| download | emacs-6d410fb03c53a892d2cf19238b15c5957ec1a7d8.tar.gz emacs-6d410fb03c53a892d2cf19238b15c5957ec1a7d8.zip | |
; Fix previous commit
| -rw-r--r-- | lisp/image-dired.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/image-dired.el b/lisp/image-dired.el index ee5678f9589..7978f075645 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el | |||
| @@ -841,11 +841,10 @@ thumbnail buffer to be selected." | |||
| 841 | (goto-char (point-max))) | 841 | (goto-char (point-max))) |
| 842 | (dolist (curr-file files) | 842 | (dolist (curr-file files) |
| 843 | (setq thumb-name (image-dired-thumb-name curr-file)) | 843 | (setq thumb-name (image-dired-thumb-name curr-file)) |
| 844 | (when (not (file-exists-p thumb-name)) | 844 | (if (and (not (file-exists-p thumb-name)) |
| 845 | (if (and (not (file-exists-p thumb-name)) | 845 | (not (= 0 (image-dired-create-thumb curr-file thumb-name)))) |
| 846 | (not (= 0 (image-dired-create-thumb curr-file thumb-name)))) | 846 | (message "Thumb could not be created for file %s" curr-file) |
| 847 | (message "Thumb could not be created for file %s" curr-file) | 847 | (image-dired-insert-thumbnail thumb-name curr-file dired-buf)))) |
| 848 | (image-dired-insert-thumbnail thumb-name curr-file dired-buf))))) | ||
| 849 | (if do-not-pop | 848 | (if do-not-pop |
| 850 | (display-buffer buf) | 849 | (display-buffer buf) |
| 851 | (pop-to-buffer buf)) | 850 | (pop-to-buffer buf)) |