emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110400: * lisp/ehelp.el (electric-he


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110400: * lisp/ehelp.el (electric-help-mode): Fix major-mode setting.
Date: Sat, 06 Oct 2012 16:16:40 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110400
fixes bug: http://debbugs.gnu.org/10917
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2012-10-06 16:16:40 -0700
message:
  * lisp/ehelp.el (electric-help-mode): Fix major-mode setting.
modified:
  lisp/ChangeLog
  lisp/ehelp.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-10-06 22:52:52 +0000
+++ b/lisp/ChangeLog    2012-10-06 23:16:40 +0000
@@ -1,5 +1,8 @@
 2012-10-06  Glenn Morris  <address@hidden>
 
+       * 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.
 

=== modified file 'lisp/ehelp.el'
--- a/lisp/ehelp.el     2012-09-12 19:16:36 +0000
+++ b/lisp/ehelp.el     2012-10-06 23:16:40 +0000
@@ -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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]