]> git.eshelyaron.com Git - emacs.git/commit
Make help and view-mode work with new buffer display facilities.
authorMartin Rudalics <rudalics@gmx.at>
Mon, 13 Jun 2011 13:14:42 +0000 (15:14 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Mon, 13 Jun 2011 13:14:42 +0000 (15:14 +0200)
commit357f93d245344725f9d7c5b96eadc400107923b6
tree635172dd3c214f5a6933d453047f877a0379e12f
parent9481c00201c52494d5119cecd4c267bfd0c5d19e
Make help and view-mode work with new buffer display facilities.

* help.el (help-window): Remove variable.
(help-window-point-marker, temp-buffer-max-height)
(temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
(help-print-return-message): Don't set help-window.
(resize-temp-buffer-window): Rewrite cod eand doc-string.
(help-window-setup-finish): Remove.
(help-window-display-message, help-window-setup)
(with-help-window): Major rewrite based on new
display-buffer-window variable.

* help-mode.el (help-mode-finish): Remove help-window related
code.

* view.el (view-exits-all-viewing-windows): Remove reference to
view-return-to-alist in doc-string.
(view-return-to-alist): Make obsolete.
(view-buffer): Call pop-to-buffer-same-window and remove
undo-window code.
(view-buffer-other-window): Call pop-to-buffer-other-window and
simplify code.  Ignore second argument.
(view-buffer-other-frame): Call pop-to-buffer-other-frame and
simplify code.  Ignore second argument.
(view-return-to-alist-update): Make obsolete.
(view-mode-enter): Rename second argument to QUIT-RESTORE.
Rewrite using quit-restore window parameters.
(view-mode-exit): Rename second argument to EXIT-ONLY.  Rewrite
using quit-restore-window.
(View-exit, View-exit-and-edit, View-leave, View-quit)
(View-quit-all, View-kill-and-leave): Call view-mode-exit with
appropriate arguments.
(view-end-message): Use quit-restore window parameter.
lisp/ChangeLog
lisp/help-mode.el
lisp/help.el
lisp/view.el