]> git.eshelyaron.com Git - emacs.git/commit
Extend [hv]scroll support to per-window properties.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 21 Feb 2008 03:27:15 +0000 (03:27 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 21 Feb 2008 03:27:15 +0000 (03:27 +0000)
commit44e3c7c6022fe049bc304a1fb83375310d5979d9
tree46b2a28c93b33a1ed0e8921caffc90744adfd957
parentb0d9db865cf9924c51a53c1b71d5af6e00286541
Extend [hv]scroll support to per-window properties.
(image-mode-current-vscroll, image-mode-current-hscroll): Remove.
(image-mode-winprops-alist): New var to replace them.
(image-mode-new-window-functions): New hook.
(image-mode-winprops, image-mode-window-get, image-mode-window-put): New funs.
(image-set-window-vscroll, image-set-window-hscroll): Use them.
Remove the `window' argument, update callers.
(image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
Use the new functions.
(image-mode-reapply-winprops): New fun.
(image-mode): Use it.
lisp/ChangeLog
lisp/image-mode.el