Mercurial > emacs
diff lisp/ChangeLog @ 109021:35894ae393bb
Fix revert-buffer functionality of Help mode and Info.
* lisp/help-mode.el (help-mode): Set buffer-local variable
revert-buffer-function to help-mode-revert-buffer.
(help-mode-revert-buffer): New function.
* lisp/info.el (Info-revert-find-node): Check for major-mode Info-mode
before popping to "*info*" (like in other Info functions).
Keep buffer-name in old-buffer-name. Keep Info-history-forward in
old-history-forward. Pop to old-buffer-name or "*info*" to
recreate the killed buffer. Set Info-history-forward from
old-history-forward.
(Info-breadcrumbs-depth): Add :group and :version.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Thu, 17 Jun 2010 23:56:17 +0300 |
parents | 9087d6113b47 |
children | bd9d982851e0 |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Jun 17 09:41:13 2010 -0700 +++ b/lisp/ChangeLog Thu Jun 17 23:56:17 2010 +0300 @@ -1,3 +1,17 @@ +2010-06-17 Juri Linkov <juri@jurta.org> + + * help-mode.el (help-mode): Set buffer-local variable + revert-buffer-function to help-mode-revert-buffer. + (help-mode-revert-buffer): New function. + + * info.el (Info-revert-find-node): Check for major-mode Info-mode + before popping to "*info*" (like in other Info functions). + Keep buffer-name in old-buffer-name. Keep Info-history-forward in + old-history-forward. Pop to old-buffer-name or "*info*" to + recreate the killed buffer. Set Info-history-forward from + old-history-forward. + (Info-breadcrumbs-depth): Add :group and :version. + 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu> * emacs-lisp/package.el (package-menu-mode-map): Add a menu.