* lisp/image-mode.el: Use lexical-binding.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Sep 2012 03:16:35 +0000 (23:16 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Sep 2012 03:16:35 +0000 (23:16 -0400)
commit83600dc899a15699298809ef7b8adb4cd28df8a3
treecc1d83a8381afebf203523a30db567dc0468651a
parenta2e770db7f66fad562ba6cad5d21e6dcf6006973
* lisp/image-mode.el: Use lexical-binding.
(image-mode-winprops): Use t to stand for the window of a buffer that's
not displayed.
* lisp/doc-view.el (doc-view-new-window-function): Handle t in winprops.
(doc-view-enlarge): Make it a real nop if the size is not changed.
(doc-view-display): Handle the case where the buffer is not (yet?)
displayed in any window.
(doc-view-saved-settings): New var.
(doc-view-mode): Use it.
(doc-view-fallback-mode): Set it.
lisp/ChangeLog
lisp/doc-view.el
lisp/image-mode.el