In window--state-put-2 handle horizontal scroll bars.

* window.el (window--state-put-2): Handle horizontal scroll
bars, if present.
This commit is contained in:
Martin Rudalics 2014-07-29 17:08:30 +02:00
parent 6bca885a20
commit ca74eaca07
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-07-29 Martin Rudalics <rudalics@gmx.at>
* window.el (window--state-put-2): Handle horizontal scroll
bars, if present.
2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
* menu-bar.el (menu-bar-update-buffers): Update item list format

View file

@ -5121,7 +5121,7 @@ value can be also stored on disk and read back in a new session."
(let ((scroll-bars (cdr (assq 'scroll-bars state))))
(set-window-scroll-bars
window (car scroll-bars) (nth 2 scroll-bars)
(nth 3 scroll-bars)))
(or (nth 3 scroll-bars) 0) (nth 5 scroll-bars)))
(set-window-vscroll window (cdr (assq 'vscroll state)))
;; Adjust vertically.
(if (memq window-size-fixed '(t height))