Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f417bc0a
Commit
f417bc0a
authored
Nov 05, 2008
by
Martin Rudalics
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(quit-window): Restore prefix argument behavior
removed in 2008-10-30 change. (Bug#1308)
parent
f1809341
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/window.el
lisp/window.el
+3
-1
No files found.
lisp/ChangeLog
View file @
f417bc0a
2008-11-05 Martin Rudalics <rudalics@gmx.at>
* window.el (quit-window): Restore prefix argument behavior
removed in 2008-10-30 change. (Bug#1308)
2008-11-05 Tassilo Horn <tassilo@member.fsf.org>
* doc-view.el (doc-view-mode): Bugfix: Add conversion killing
...
...
lisp/window.el
View file @
f417bc0a
...
...
@@ -1420,12 +1420,14 @@ Return non-nil if the window was shrunk, nil otherwise."
(defun quit-window (&optional kill window)
"
Bury
or
kill
(
with
KILL
non-nil
)
the
buffer
displayed
in
WINDOW.
With
a
prefix
argument,
kill
the
buffer
instead.
KILL
defaults
to
nil
,
WINDOW
to
the
selected
window.
If
WINDOW
is
dedicated
or
a
minibuffer
window,
delete
it
and,
if
it
's
the
only
window
on
its
frame,
delete
its
frame
as
well
provided
there
are
other
frames
left.
Otherwise,
display
some
other
buffer
in
the
window.
"
(interactive)
(interactive
"
P
"
)
(let* ((window (or window (selected-window)))
(buffer (window-buffer window)))
(if (or (window-minibuffer-p window) (window-dedicated-p 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