1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

* lisp/ehelp.el (electric-help-mode): Fix major-mode setting.

Fixes: debbugs:10917
This commit is contained in:
Glenn Morris 2012-10-06 16:16:40 -07:00
parent 5b9c45a6d1
commit addc11ed80
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2012-10-06 Glenn Morris <rgm@gnu.org>
* ehelp.el (electric-help-mode): Use help-mode rather than
non-existent mode `help'. (Bug#10917)
* textmodes/reftex-vars.el (reftex-create-bibtex-header)
(reftex-create-bibtex-footer): Fix custom types.

View File

@ -102,7 +102,7 @@
(setq buffer-read-only t)
(setq electric-help-orig-major-mode major-mode)
(setq mode-name "Help")
(setq major-mode 'help)
(setq major-mode 'help-mode)
(setq mode-line-buffer-identification '(" Help: %b"))
(use-local-map electric-help-map)
(add-hook 'mouse-leave-buffer-hook 'electric-help-retain)