]> git.eshelyaron.com Git - emacs.git/commit
Fix icons.el when icon does not exist as a file
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Jan 2024 11:26:29 +0000 (13:26 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 6 Jan 2024 16:18:24 +0000 (17:18 +0100)
commit6fa10d9b993b09109d102869b7be7a4fb0d23a51
tree314d9900687ac73c5d5712e05cdd5a27d6da81e5
parentd8d149f0d2526d5547eb5303ea68ef7ded31792c
Fix icons.el when icon does not exist as a file

* lisp/emacs-lisp/icons.el (icons--create): Handle the case when
ICON is a file that doesn't exists or is unreadable.  Suggested by
David Ponce <da_vid@orange.fr>.  (Bug#66846)

(cherry picked from commit 466d1c98a9ef7490332469165f63a38c2b07a05d)
lisp/emacs-lisp/icons.el