From: Leo Liu Date: Sat, 22 Mar 2014 08:13:46 +0000 (+0800) Subject: * help.el (temp-buffer-setup-hook): Remove help-mode-setup. X-Git-Tag: emacs-25.0.90~2640^2~344^2~20 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3e7bc0445f728cdfcf140b2161529b765d997d75;p=emacs.git * help.el (temp-buffer-setup-hook): Remove help-mode-setup. (temp-buffer-show-hook): Remove help-mode-finish. Fixes: debbugs:16038 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 90a608a069d..786710f3689 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-03-22 Leo Liu + + * help.el (temp-buffer-setup-hook): Remove help-mode-setup. + (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038) + 2014-03-21 Richard Stallman * battery.el (battery-linux-sysfs): Search for each field diff --git a/lisp/help.el b/lisp/help.el index 14dda6456cf..6f096c48445 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -33,10 +33,6 @@ ;; 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