diff options
| author | Tassilo Horn | 2008-01-29 18:01:32 +0000 |
|---|---|---|
| committer | Tassilo Horn | 2008-01-29 18:01:32 +0000 |
| commit | 865ba895262a7ef207489763281883cdb0ef8800 (patch) | |
| tree | 413d678623330bc0464d223d17f7a34a373e14dc | |
| parent | 54089c0eea82caf34ce360cac85c39bd74a3df8a (diff) | |
| download | emacs-865ba895262a7ef207489763281883cdb0ef8800.tar.gz emacs-865ba895262a7ef207489763281883cdb0ef8800.zip | |
* doc-view.el (doc-view-mode): Adapt to i-m-current-[vh]scroll
being an alist now.
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/doc-view.el | 8 |
2 files changed, 15 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d3525398265..00e102729c0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2008-01-29 Tassilo Horn <tassilo@member.fsf.org> | ||
| 2 | |||
| 3 | * doc-view.el (doc-view-mode): Adapt to i-m-current-[vh]scroll | ||
| 4 | being an alist now. | ||
| 5 | |||
| 6 | * image-mode.el (image-mode-current-vscroll) | ||
| 7 | (image-mode-current-hscroll): Add doc strings. | ||
| 8 | (image-set-window-vscroll, image-set-window-hscroll) | ||
| 9 | (image-reset-current-vhscroll, image-mode): Adapt to | ||
| 10 | i-m-current-[vh]scroll being an alist now. | ||
| 11 | |||
| 1 | 2008-01-29 Martin Rudalics <rudalics@gmx.at> | 12 | 2008-01-29 Martin Rudalics <rudalics@gmx.at> |
| 2 | 13 | ||
| 3 | * emacs-lisp/find-func.el (find-function-search-for-symbol): | 14 | * emacs-lisp/find-func.el (find-function-search-for-symbol): |
diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 047785e844c..aaa68bf6387 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el | |||
| @@ -989,10 +989,10 @@ toggle between displaying the document or editing it as text." | |||
| 989 | nil t) | 989 | nil t) |
| 990 | 990 | ||
| 991 | ;; Keep track of [vh]scroll when switching buffers | 991 | ;; Keep track of [vh]scroll when switching buffers |
| 992 | (set (make-local-variable 'image-mode-current-hscroll) | 992 | (make-local-variable 'image-mode-current-hscroll) |
| 993 | (window-hscroll (selected-window))) | 993 | (make-local-variable 'image-mode-current-vscroll) |
| 994 | (set (make-local-variable 'image-mode-current-vscroll) | 994 | (image-set-window-hscroll (selected-window) (window-hscroll)) |
| 995 | (window-vscroll (selected-window))) | 995 | (image-set-window-vscroll (selected-window) (window-vscroll)) |
| 996 | (add-hook 'window-configuration-change-hook | 996 | (add-hook 'window-configuration-change-hook |
| 997 | 'image-reset-current-vhscroll nil t) | 997 | 'image-reset-current-vhscroll nil t) |
| 998 | 998 | ||