]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/help.el (temp-buffer-setup-hook,temp-buffer-show-hook): Revert
authorLeo Liu <sdl.web@gmail.com>
Thu, 7 Aug 2014 03:25:09 +0000 (11:25 +0800)
committerLeo Liu <sdl.web@gmail.com>
Thu, 7 Aug 2014 03:25:09 +0000 (11:25 +0800)
change on 2014-03-22.

lisp/ChangeLog
lisp/help.el

index ae2fcc5d11cbd9a279665e8c7dcbd686e162708a..d8eb7e7dc6c5c044e1726f9593ecb22152a1b371 100644 (file)
@@ -1,6 +1,11 @@
+2014-08-07  Leo Liu  <sdl.web@gmail.com>
+
+       * help.el (temp-buffer-setup-hook,temp-buffer-show-hook): Revert
+       change on 2014-03-22.
+
 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
 
-       * calendar/icalendar.el (icalendar--diarytime-to-isotime): 
+       * calendar/icalendar.el (icalendar--diarytime-to-isotime):
        (icalendar--convert-ordinary-to-ical): Allow for missing minutes
        (Bug#13750).
 
index 63a658f391c5a215d616fdeabd43cbdab77b4aef..2da43d3ed486a5dc3ca4400382b42691a4218636 100644 (file)
 ;; or run interpreted, but not when the compiled code is loaded.
 (eval-when-compile (require 'help-macro))
 
+;; This makes `with-output-to-temp-buffer' buffers use `help-mode'.
+(add-hook 'temp-buffer-setup-hook 'help-mode-setup)
+(add-hook 'temp-buffer-show-hook 'help-mode-finish)
+
 ;; `help-window-point-marker' is a marker you can move to a valid
 ;; position of the buffer shown in the help window in order to override
 ;; the standard positioning mechanism (`point-min') chosen by