[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r112276: Make `split-window' a non-in
From: |
Stephen Berman |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r112276: Make `split-window' a non-interactive function. |
Date: |
Sat, 13 Apr 2013 16:37:20 +0200 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 112276
committer: Stephen Berman <address@hidden>
branch nick: trunk
timestamp: Sat 2013-04-13 16:37:20 +0200
message:
Make `split-window' a non-interactive function.
* doc/lispref/windows.texi (Splitting Windows): Change category of
split-window from a command to a function.
* etc/NEWS: Mention fixing `split-window' to be non-interactive.
* window.el (split-window): Remove interactive form, since as a
command this function is a special case of split-window-below.
Correct doc string.
modified:
doc/lispref/ChangeLog
doc/lispref/windows.texi
etc/ChangeLog
etc/NEWS
lisp/ChangeLog
lisp/window.el
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2013-04-06 07:39:48 +0000
+++ b/doc/lispref/ChangeLog 2013-04-13 14:37:20 +0000
@@ -1,3 +1,8 @@
+2013-04-13 Stephen Berman <address@hidden>
+
+ * windows.texi (Splitting Windows): Change category of
+ split-window from a command to a function.
+
2013-04-06 Chong Yidong <address@hidden>
* display.texi (Faces): Minor clarifications.
=== modified file 'doc/lispref/windows.texi'
--- a/doc/lispref/windows.texi 2013-01-06 20:34:54 +0000
+++ b/doc/lispref/windows.texi 2013-04-13 14:37:20 +0000
@@ -717,7 +717,7 @@
This section describes functions for creating a new window by
@dfn{splitting} an existing one.
address@hidden Command split-window &optional window size side
address@hidden split-window &optional window size side
This function creates a new live window next to the window
@var{window}. If @var{window} is omitted or @code{nil}, it defaults
to the selected window. That window is ``split'', and reduced in
@@ -767,7 +767,7 @@
lieu of the usual action of @code{split-window}. Otherwise, this
function obeys the @code{window-atom} or @code{window-side} window
parameter, if any. @xref{Window Parameters}.
address@hidden deffn
address@hidden defun
As an example, here is a sequence of @code{split-window} calls that
yields the window configuration discussed in @ref{Windows and Frames}.
=== modified file 'etc/ChangeLog'
--- a/etc/ChangeLog 2013-04-09 19:18:53 +0000
+++ b/etc/ChangeLog 2013-04-13 14:37:20 +0000
@@ -1,3 +1,7 @@
+2013-04-13 Stephen Berman <address@hidden>
+
+ * NEWS: Mention fixing `split-window' to be non-interactive.
+
2013-04-09 Tassilo Horn <address@hidden>
* themes/tsdh-dark-theme.el (tsdh-dark): Add some more faces.
=== modified file 'etc/NEWS'
--- a/etc/NEWS 2013-04-09 17:54:50 +0000
+++ b/etc/NEWS 2013-04-13 14:37:20 +0000
@@ -76,6 +76,11 @@
* Editing Changes in Emacs 24.4
+** `split-window' is no longer a command, just a non-interactive function.
+As a command it was a special case of `split-window-below', and as such
+superfluous. After being reimplemented in Lisp, its interactive form
+was mistakenly retained.
+
** New commands `toggle-frame-fullscreen' and `toggle-frame-maximized',
bound to <f11> and M-<f10>, respectively.
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2013-04-13 01:10:09 +0000
+++ b/lisp/ChangeLog 2013-04-13 14:37:20 +0000
@@ -1,3 +1,9 @@
+2013-04-13 Stephen Berman <address@hidden>
+
+ * window.el (split-window): Remove interactive form, since as a
+ command this function is a special case of split-window-below.
+ Correct doc string.
+
2013-04-12 Roland Winkler <address@hidden>
* faces.el (read-face-name): Do not override value of arg default.
=== modified file 'lisp/window.el'
--- a/lisp/window.el 2013-01-02 16:13:04 +0000
+++ b/lisp/window.el 2013-04-13 14:37:20 +0000
@@ -3686,7 +3686,7 @@
absolute value can be less than `window-min-height' or
`window-min-width'; so this command can make a new window as
small as one line or two columns. SIZE defaults to half of
-WINDOW's size. Interactively, SIZE is the prefix argument.
+WINDOW's size.
Optional third argument SIDE nil (or `below') specifies that the
new window shall be located below WINDOW. SIDE `above' means the
@@ -3718,7 +3718,6 @@
window, these properties as well as the buffer displayed in the
new window are inherited from the window selected on WINDOW's
frame. The selected window is not changed by this function."
- (interactive "i")
(setq window (window-normalize-window window))
(let* ((side (cond
((not side) 'below)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r112276: Make `split-window' a non-interactive function.,
Stephen Berman <=