Mercurial > emacs
diff lisp/ehelp.el @ 36240:5432010ffe02
(with-electric-help): Doc fix.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 20 Feb 2001 19:20:11 +0000 |
parents | bad7093b5361 |
children | ca2938d86ae9 |
line wrap: on
line diff
--- a/lisp/ehelp.el Tue Feb 20 18:12:44 2001 +0000 +++ b/lisp/ehelp.el Tue Feb 20 19:20:11 2001 +0000 @@ -126,8 +126,8 @@ shrink the window to fit if `electric-help-shrink-window' is non-nil. If THUNK returns non-nil, we don't do those things. -When the user exits (with `electric-help-exit', or otherwise) the help -buffer's window disappears (i.e., we use `save-window-excursion') +When the user exits (with `electric-help-exit', or otherwise), the help +buffer's window disappears (i.e., we use `save-window-excursion'), and BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit." (setq buffer (get-buffer-create (or buffer "*Help*"))) (let ((one (one-window-p t)) @@ -170,7 +170,7 @@ ;; We should really get a usable *Help* buffer when retaining ;; the electric one with `r'. The problem is that a simple - ;; call to help-mode won't cut it; at least RET is vound wrong + ;; call to help-mode won't cut it; at least RET is bound wrong ;; afterwards. It's also not clear that `help-mode' is always ;; the right thing, maybe we should add an optional parameter. (condition-case () @@ -179,7 +179,7 @@ (set-window-configuration config) (when bury - ;;>> Perhaps this shouldn't be done. + ;;>> Perhaps this shouldn't be done, ;; so that when we say "Press space to bury" we mean it (replace-buffer-in-windows buffer) ;; must do this outside of save-window-excursion