Mercurial > emacs
diff src/bidi.c @ 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 | f2d0b93e668c |
children | aec1143e8d85 |