Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Check listness of image in `gimp-open-image' before trying to take it…

…s cdr
  • Loading branch information...
commit 1265a3762395d9184fb4ec7c086f89c8c717328b 1 parent c8619bc
@pft authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gimp-mode.el
View
2  gimp-mode.el
@@ -2952,7 +2952,7 @@ If GIMP is not running as an inferior process, open image(s) with gimp-remote."
gimp-program
image)
(call-process gimp-program nil 0 nil image))))))
- (when (not (cdr img))
+ (when (and (listp img) (not (cdr img)))
(setq img (car img)))
(if (listp img)
(progn
Please sign in to comment.
Something went wrong with that request. Please try again.