mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 02:31:03 -08:00
* lisp/image-mode.el (image-mode-window-put): Don't assume there's a `t'
entry in image-mode-winprops-alist.
This commit is contained in:
parent
b53a667a5a
commit
9253f7af87
2 changed files with 10 additions and 9 deletions
|
|
@ -90,9 +90,8 @@ otherwise it defaults to t, used for times when the buffer is not displayed."
|
|||
|
||||
(defun image-mode-window-put (prop val &optional winprops)
|
||||
(unless (consp winprops) (setq winprops (image-mode-winprops winprops)))
|
||||
(setcdr (assq t image-mode-winprops-alist)
|
||||
(cons (cons prop val)
|
||||
(delq (assq prop (cdr winprops)) (cdr winprops))))
|
||||
(unless (eq t (car winprops))
|
||||
(image-mode-window-put prop val t))
|
||||
(setcdr winprops (cons (cons prop val)
|
||||
(delq (assq prop (cdr winprops)) (cdr winprops)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue