mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(find-image): Copy `spec' before using plist-put.
This commit is contained in:
parent
13004bef1e
commit
9bb7a286d4
@ -1,3 +1,7 @@
|
||||
2000-08-18 Dave Love <fx@gnu.org>
|
||||
|
||||
* image.el (find-image): Copy `spec' before using plist-put.
|
||||
|
||||
2000-08-18 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* textmodes/ispell.el (ispell-dictionary-alist-6): Add
|
||||
|
@ -225,7 +225,8 @@ The image is looked for first on `load-path' and then in `data-directory'."
|
||||
(setq found try-file))))
|
||||
(if found
|
||||
(setq image
|
||||
(cons 'image (plist-put spec :file found))))))
|
||||
(cons 'image (plist-put (copy-sequence spec)
|
||||
:file found))))))
|
||||
((not (null data))
|
||||
(setq image (cons 'image spec)))))
|
||||
(setq specs (cdr specs))))
|
||||
|
Loading…
Reference in New Issue
Block a user