Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
commit7b79b1abad4b697e4f08c5011d346bdb9b219059
authorMartin Rudalics <rudalics@gmx.at>
Fri, 28 Nov 2014 17:12:32 +0000 (28 18:12 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Fri, 28 Nov 2014 17:12:32 +0000 (28 18:12 +0100)
tree4a1c45fc782f4b598f4e56c76f27c4025162e372
parentd36439ca667bbdc7b89b5aa6e82d52a3cd2ded46
Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)

* help.el (help-window-old-frame): New variable.
(help-window-select): Default to nil (Bug#11039).  Rewrite
doc-string.
(help-window-setup): When the help window appears on another
frame and `help-window-select' is non-nil, give that frame input
focus too (Bug#19012).
(with-help-window): Store selected frame in
help-window-old-frame.
lisp/ChangeLog
lisp/help.el