From addc11ed80db5e01c96ad587c4d848df0abc1cd2 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 6 Oct 2012 16:16:40 -0700 Subject: [PATCH] * lisp/ehelp.el (electric-help-mode): Fix major-mode setting. Fixes: debbugs:10917 --- lisp/ChangeLog | 3 +++ lisp/ehelp.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1a2ccb5e4f6..c573b9de5b9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2012-10-06 Glenn Morris + * 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. diff --git a/lisp/ehelp.el b/lisp/ehelp.el index 281148d9cf6..52ac5434ce1 100644 --- a/lisp/ehelp.el +++ b/lisp/ehelp.el @@ -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)