summaryrefslogtreecommitdiff
path: root/lisp/ehelp.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-10-06 16:16:40 -0700
committerGlenn Morris <rgm@gnu.org>2012-10-06 16:16:40 -0700
commitaddc11ed80db5e01c96ad587c4d848df0abc1cd2 (patch)
tree37a485a02612b07dc3ab2cdeb398051cd783381d /lisp/ehelp.el
parent5b9c45a6d194abacc0c47bdd3537bdd6d428c2a2 (diff)
downloademacs-addc11ed80db5e01c96ad587c4d848df0abc1cd2.tar.gz
* lisp/ehelp.el (electric-help-mode): Fix major-mode setting.
Fixes: debbugs:10917
Diffstat (limited to 'lisp/ehelp.el')
-rw-r--r--lisp/ehelp.el2
1 files changed, 1 insertions, 1 deletions
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)