mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/image-mode.el (image--imagemagick-wanted-p): Check for nil filename.
(Bug#33241)
This commit is contained in:
parent
294a5246b2
commit
0e1d946a93
1 changed files with 1 additions and 1 deletions
|
|
@ -786,7 +786,7 @@ was inserted."
|
|||
(defun image--imagemagick-wanted-p (filename)
|
||||
(and (fboundp 'imagemagick-types)
|
||||
(not (eq imagemagick-types-inhibit t))
|
||||
(not (and (file-name-extension filename)
|
||||
(not (and filename (file-name-extension filename)
|
||||
(memq (intern (upcase (file-name-extension filename)) obarray)
|
||||
imagemagick-types-inhibit)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue