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:
parent
5b9c45a6d1
commit
addc11ed80
@ -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.
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user