diff options
| author | Stefan Monnier | 2013-01-09 17:47:27 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-01-09 17:47:27 -0500 |
| commit | 08ce64e637608fc8beadd271c301361a2aa7cf2c (patch) | |
| tree | 13f53c909e9c1d169508ffec1809abb241e6184f | |
| parent | 8cff5febae4e032c8b78f9013f23989af18db269 (diff) | |
| download | emacs-08ce64e637608fc8beadd271c301361a2aa7cf2c.tar.gz emacs-08ce64e637608fc8beadd271c301361a2aa7cf2c.zip | |
* lisp/image-mode.el (image-mode-winprops): Don't throw away the fallback
`t' pseudo-window entry.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/image-mode.el | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 778fe3dedd6..d7ffc144657 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-01-09 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * image-mode.el (image-mode-winprops): Don't throw away the fallback | ||
| 4 | `t' pseudo-window entry. | ||
| 5 | |||
| 1 | 2013-01-09 Alan Mackenzie <acm@muc.de> | 6 | 2013-01-09 Alan Mackenzie <acm@muc.de> |
| 2 | 7 | ||
| 3 | Fix bugs in the c-parse-state mechanism. Reuse some markers | 8 | Fix bugs in the c-parse-state mechanism. Reuse some markers |
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 90eb5dfaec5..a95dde1d999 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -63,8 +63,9 @@ otherwise it defaults to t, used for times when the buffer is not displayed." | |||
| 63 | (when cleanup | 63 | (when cleanup |
| 64 | (setq image-mode-winprops-alist | 64 | (setq image-mode-winprops-alist |
| 65 | (delq nil (mapcar (lambda (winprop) | 65 | (delq nil (mapcar (lambda (winprop) |
| 66 | (if (window-live-p (car-safe winprop)) | 66 | (let ((w (car-safe winprop))) |
| 67 | winprop)) | 67 | (if (or (not (windowp w)) (window-live-p w)) |
| 68 | winprop))) | ||
| 68 | image-mode-winprops-alist)))) | 69 | image-mode-winprops-alist)))) |
| 69 | (let ((winprops (assq window image-mode-winprops-alist))) | 70 | (let ((winprops (assq window image-mode-winprops-alist))) |
| 70 | ;; For new windows, set defaults from the latest. | 71 | ;; For new windows, set defaults from the latest. |