Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f55e4a7e
Commit
f55e4a7e
authored
Feb 20, 2001
by
Eli Zaretskii
Browse files
(with-electric-help): Doc fix.
parent
d17e49a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/ehelp.el
lisp/ehelp.el
+4
-4
No files found.
lisp/ChangeLog
View file @
f55e4a7e
2001-02-20 Eli Zaretskii <eliz@is.elta.co.il>
* ehelp.el (with-electric-help): Doc fix.
2001-02-20 Gerd Moellmann <gerd@gnu.org>
* msb.el (msb-mode): Call the update-buffers function explicitly
...
...
lisp/ehelp.el
View file @
f55e4a7e
...
...
@@ -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
v
ound wrong
;; call to help-mode won't cut it; at least RET is
b
ound 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment