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
01df0a6d
Commit
01df0a6d
authored
Jul 13, 2004
by
Luc Teirlinck
Browse files
(with-selected-window): Doc fix.
parent
9ea306d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/subr.el
lisp/subr.el
+6
-0
No files found.
lisp/ChangeLog
View file @
01df0a6d
2004-07-12 Luc Teirlinck <teirllm@auburn.edu>
* subr.el (with-selected-window): Doc fix.
2004-07-11 Luc Teirlinck <teirllm@auburn.edu>
* subr.el (get-buffer-window-list): Doc fix.
...
...
lisp/subr.el
View file @
01df0a6d
...
...
@@ -1799,6 +1799,12 @@ See also `with-temp-buffer'."
"Execute the forms in BODY with WINDOW as the selected window.
The value returned is the value of the last form in BODY.
This does not alter the buffer list ordering.
This function saves and restores the selected window, as well as
the selected window in each frame. If the previously selected
window of some frame is no longer live at the end of BODY, that
frame's selected window is left alone. If the selected window is
no longer live, then whatever window is selected at the end of
BODY remains selected.
See also `with-temp-buffer'."
(
declare
(
indent
1
)
(
debug
t
))
;; Most of this code is a copy of save-selected-window.
...
...
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