]> git.eshelyaron.com Git - emacs.git/commit
Reset 'gnus-current-window-configuration' on edit-form exit.
authorAndrew G Cohen <cohen@andy.bu.edu>
Thu, 9 Mar 2023 08:05:31 +0000 (16:05 +0800)
committerAndrew G Cohen <cohen@andy.bu.edu>
Sat, 1 Apr 2023 01:54:51 +0000 (09:54 +0800)
commit2c9ea31999d2f69f8bca4fe352dd0f74c6766c54
tree3be4559854719e306cf19538010f3f84253e94cd
parent9acfb7662c5c25fe9bfa7156da9916f58dfde9a5
Reset 'gnus-current-window-configuration' on edit-form exit.

* lisp/gnus/gnus.el: New variable gnus-prev-cwc.
* lisp/gnus/gnus-art.el (gnus-article-edit-mode):
New local variable gnus-prev-cwc.
(gnus-article-edit-article):  Store original
gnus-current-window-configuration as gnus-prev-cwc.
(gnus-article-edit-done, gnus-article-edit-exit): Restore
gnus-current-window-configuration from gnus-prev-cwc.
* lisp/gnus/gnus-eform.el (gnus-edit-form-mode):
New local variable gnus-prev-cwc.
(gnus-edit-form):  Store original
gnus-current-window-configuration as gnus-prev-cwc.
(gnus-edit-form-done, gnus-edit-form-exit): Restore
gnus-current-window-configuration from gnus-prev-cwc.
lisp/gnus/gnus-art.el
lisp/gnus/gnus-eform.el
lisp/gnus/gnus.el