diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-02-20 19:22:43 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-02-20 19:22:43 +0000 |
commit | f55e4a7eb6e6db75696c5e628670af03f29ac5a9 (patch) | |
tree | 19830931e8ab5444329319d8224d5c5f1e3807e3 /lisp/ehelp.el | |
parent | d17e49a898f97e894fc9793b2d6678e0e104e191 (diff) | |
download | emacs-f55e4a7eb6e6db75696c5e628670af03f29ac5a9.tar.gz |
(with-electric-help): Doc fix.
Diffstat (limited to 'lisp/ehelp.el')
-rw-r--r-- | lisp/ehelp.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/ehelp.el b/lisp/ehelp.el index 9bb48b1bbd2..4fe8b37d4db 100644 --- a/lisp/ehelp.el +++ b/lisp/ehelp.el @@ -126,8 +126,8 @@ If THUNK returns nil, we display BUFFER starting at the top, and 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 @@ BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit." ;; 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 @@ BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit." (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 |