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
96995b89
Commit
96995b89
authored
Oct 17, 2008
by
Martin Rudalics
Browse files
(Basic Windows, Splitting Windows): Fix whitespace and reword.
parent
87527026
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+5
-0
doc/lispref/windows.texi
doc/lispref/windows.texi
+6
-6
No files found.
doc/lispref/ChangeLog
View file @
96995b89
2008
-
10
-
17
Martin
Rudalics
<
rudalics
@
gmx
.
at
>
*
windows
.
texi
(
Basic
Windows
,
Splitting
Windows
):
Fix
whitespace
and
reword
.
2008
-
10
-
16
Eli
Zaretskii
<
eliz
@
gnu
.
org
>
*
markers
.
texi
(
The
Mark
):
Document
use
-
region
-
p
.
...
...
doc/lispref/windows.texi
View file @
96995b89
...
...
@@ -87,7 +87,7 @@ window edges with respect to the screen or frame
the buffer it displays
@item
position
within the buffer
at the upper left of the window
buffer
position at the upper left
corner
of the window
@item
amount of horizontal scrolling, in columns
...
...
@@ -273,7 +273,7 @@ characters; see @ref{Display Tables}.
This function splits the selected window into two windows, one above the
other, leaving the upper of the two windows selected, with @var{size}
lines. (If @var{size} is negative, then the lower of the two windows
gets @minus{}
@var{size} lines and the upper window gets the rest, but
gets @minus{}@var{size} lines and the upper window gets the rest, but
the upper window is still the one selected.) However, if
@code{split-window-keep-point} (see below) is @code{nil}, then either
window can be selected.
...
...
@@ -292,15 +292,15 @@ in each of the two windows to avoid scrolling. (This is useful on
slow terminals.) It selects whichever window contains the screen line
that point was previously on.
This variable
only
affects the behavior of @code{split-window-vertically}
.
It has no effect on the other functions described here.
This variable affects the behavior of @code{split-window-vertically}
only.
It has no effect on the other functions described here.
@end defopt
@deffn Command split-window-horizontally &optional size
This function splits the selected window into two windows
side-by-side, leaving the selected window on the left with @var{size}
columns. If @var{size} is negative, the rightmost window gets
@minus{}
@var{size} columns, but the leftmost window still remains
@minus{}@var{size} columns, but the leftmost window still remains
selected.
This function is basically an interface to @code{split-window}.
...
...
@@ -315,7 +315,7 @@ You could define a simplified version of the function like this:
@group
(let ((size (and arg (prefix-numeric-value arg))))
(and size (< size 0)
(setq size (+ (window-width) size)))
(setq size (+ (window-width) size)))
(split-window nil size t)))
@end group
@end smallexample
...
...
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