summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2011-09-29 10:16:15 +0200
committerMartin Rudalics <rudalics@gmx.at>2011-09-29 10:16:15 +0200
commitb5516bbd83019a2bf549991f1a73afe754cfc439 (patch)
tree36894c6eb89fd05975a5e3bad73874dad422493b /lisp/help.el
parent52aa0014e753e81ec0ed1d6fcd7cf25c01dd0071 (diff)
downloademacs-b5516bbd83019a2bf549991f1a73afe754cfc439.tar.gz
In command-line-1 insert initial-scratch-message before markers (Bug#9605).
* startup.el (command-line-1): Use insert-before-markers when inserting initial-scratch-message. (Bug#9605) * help.el (help-window): Remove variable.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/lisp/help.el b/lisp/help.el
index f4338c28ffb..e2af0759a65 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -37,17 +37,6 @@
(add-hook 'temp-buffer-setup-hook 'help-mode-setup)
(add-hook 'temp-buffer-show-hook 'help-mode-finish)
-;; The variable `help-window' below is used by `help-mode-finish' to
-;; communicate the window displaying help (the "help window") to the
-;; macro `with-help-window'. The latter sets `help-window' to t before
-;; invoking `with-output-to-temp-buffer'. If and only if `help-window'
-;; is eq to t, `help-mode-finish' (called by `temp-buffer-setup-hook')
-;; sets `help-window' to the window selected by `display-buffer'.
-;; Exiting `with-help-window' and calling `help-print-return-message'
-;; reset `help-window' to nil.
-(defvar help-window nil
- "Window chosen for displaying help.")
-
;; `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