; Fix previous commit
This commit is contained in:
parent
909bce32d5
commit
6d410fb03c
1 changed files with 4 additions and 5 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue