[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117658: * lisp/help.el (temp-buffer-setup-hook, tem
From: |
Leo Liu |
Subject: |
[Emacs-diffs] trunk r117658: * lisp/help.el (temp-buffer-setup-hook, temp-buffer-show-hook): Revert |
Date: |
Thu, 07 Aug 2014 03:27:43 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117658
revision-id: address@hidden
parent: address@hidden
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Thu 2014-08-07 11:25:09 +0800
message:
* lisp/help.el (temp-buffer-setup-hook,temp-buffer-show-hook): Revert
change on 2014-03-22.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/help.el help.el-20091113204419-o5vbwnq5f7feedwu-280
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-08-06 18:19:34 +0000
+++ b/lisp/ChangeLog 2014-08-07 03:25:09 +0000
@@ -1,6 +1,11 @@
+2014-08-07 Leo Liu <address@hidden>
+
+ * help.el (temp-buffer-setup-hook,temp-buffer-show-hook): Revert
+ change on 2014-03-22.
+
2014-08-06 Ulf Jasper <address@hidden>
- * 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).
=== modified file 'lisp/help.el'
--- a/lisp/help.el 2014-07-03 06:00:53 +0000
+++ b/lisp/help.el 2014-08-07 03:25:09 +0000
@@ -32,6 +32,10 @@
;; 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117658: * lisp/help.el (temp-buffer-setup-hook, temp-buffer-show-hook): Revert,
Leo Liu <=