]> git.eshelyaron.com Git - emacs.git/commit
Don't clear out local variables in `with-help-window'
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 May 2022 14:58:59 +0000 (16:58 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 May 2022 15:14:36 +0000 (17:14 +0200)
commitcd87a5c7a18ee0fd956ccc151ace85874a8404b1
treee3b845d40235bba3982692a39037bb8682dc6566
parent9c126cbacb803f07ed002dcbbfd25e41793d2146
Don't clear out local variables in `with-help-window'

* lisp/help-mode.el (help-mode-setup): Declare obsolete.
(help-mode-finish): Ditto.

* lisp/help.el (with-help-window): Don't be a wrapper around
`with-temp-buffer-window', because that made the macro big and
difficult to understand.
(help--window-setup): Implement the relevant bits from
`with-temp-buffer-window'.  Also don't clear out local variables,
because that makes things like `text-scale-mode' not work (bug#25979).
lisp/help-mode.el
lisp/help.el