summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/shortdoc-tests.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-06-16 19:53:45 +0300
committerEli Zaretskii <eliz@gnu.org>2022-06-16 19:53:45 +0300
commit5eb9383ccc9cc74c4e788e5c390412c98da56296 (patch)
tree3818a7308f5fa86ae48cc51a7137260495c080c8 /test/lisp/emacs-lisp/shortdoc-tests.el
parent28218092a699c637ab5164db69ff68f3209c5f84 (diff)
downloademacs-5eb9383ccc9cc74c4e788e5c390412c98da56296.tar.gz
emacs-5eb9383ccc9cc74c4e788e5c390412c98da56296.tar.bz2
emacs-5eb9383ccc9cc74c4e788e5c390412c98da56296.zip
Fix disruption of windows' display by shr.el
* src/window.c (struct saved_window): New member 'vscroll'. (Fset_window_configuration, save_window_save): Save and restore the window's vscroll value. * lisp/net/shr.el (shr-insert-document): Restore the original window's hscroll, in case we are rendering in a window other than where the document will be eventually displayed. This avoids resetting hscroll of windows we use temporarily for shr's rendering job. (Bug#56008)
Diffstat (limited to 'test/lisp/emacs-lisp/shortdoc-tests.el')
0 files changed, 0 insertions, 0 deletions