mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(find-image): Copy `spec' before using plist-put.
This commit is contained in:
parent
13004bef1e
commit
9bb7a286d4
2 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue