aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStephen Berman2013-04-13 16:37:20 +0200
committerStephen Berman2013-04-13 16:37:20 +0200
commit0aa3616eed6914d159d1136aaa487ac3b042cf7d (patch)
treefa8a8e3f3ba9844d06a39a602e83cf30c31a575e /doc
parent8c35e3c3b48cadea093d1a05a4839b9962bcce93 (diff)
downloademacs-0aa3616eed6914d159d1136aaa487ac3b042cf7d.tar.gz
emacs-0aa3616eed6914d159d1136aaa487ac3b042cf7d.zip
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/windows.texi4
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 0bc2b0880b0..f65c2e85461 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12013-04-13 Stephen Berman <stephen.berman@gmx.net>
2
3 * windows.texi (Splitting Windows): Change category of
4 split-window from a command to a function.
5
12013-04-06 Chong Yidong <cyd@gnu.org> 62013-04-06 Chong Yidong <cyd@gnu.org>
2 7
3 * display.texi (Faces): Minor clarifications. 8 * display.texi (Faces): Minor clarifications.
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 792002add81..f2a4b3849dd 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -717,7 +717,7 @@ window.
717This section describes functions for creating a new window by 717This section describes functions for creating a new window by
718@dfn{splitting} an existing one. 718@dfn{splitting} an existing one.
719 719
720@deffn Command split-window &optional window size side 720@defun split-window &optional window size side
721This function creates a new live window next to the window 721This function creates a new live window next to the window
722@var{window}. If @var{window} is omitted or @code{nil}, it defaults 722@var{window}. If @var{window} is omitted or @code{nil}, it defaults
723to the selected window. That window is ``split'', and reduced in 723to the selected window. That window is ``split'', and reduced in
@@ -767,7 +767,7 @@ called with the arguments @var{window}, @var{size}, and @var{side}, in
767lieu of the usual action of @code{split-window}. Otherwise, this 767lieu of the usual action of @code{split-window}. Otherwise, this
768function obeys the @code{window-atom} or @code{window-side} window 768function obeys the @code{window-atom} or @code{window-side} window
769parameter, if any. @xref{Window Parameters}. 769parameter, if any. @xref{Window Parameters}.
770@end deffn 770@end defun
771 771
772 As an example, here is a sequence of @code{split-window} calls that 772 As an example, here is a sequence of @code{split-window} calls that
773yields the window configuration discussed in @ref{Windows and Frames}. 773yields the window configuration discussed in @ref{Windows and Frames}.