aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiles Bader2004-07-11 22:08:06 +0000
committerMiles Bader2004-07-11 22:08:06 +0000
commit89f3c0c9fda25756ee311a6d0467a97bac203eb5 (patch)
treebe9d2244f2ba1e7ecd4d680e92e5fdffca58ab03 /src
parent094194de121c8b93c7b183182cb0853ec54fe1aa (diff)
parentda38045d0a9949d46814683391e094a3612b6b41 (diff)
downloademacs-89f3c0c9fda25756ee311a6d0467a97bac203eb5.tar.gz
emacs-89f3c0c9fda25756ee311a6d0467a97bac203eb5.zip
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-23
Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-442 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-444 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-445 Tweak permissions * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-446 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-450 Update from CVS
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog25
-rw-r--r--src/buffer.c14
-rw-r--r--src/editfns.c59
-rw-r--r--src/fns.c4
-rw-r--r--src/keyboard.c12
-rw-r--r--src/window.c31
6 files changed, 98 insertions, 47 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 254069032ed..3d70d69cd69 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,7 +1,32 @@
12004-07-10 Luc Teirlinck <teirllm@auburn.edu>
2
3 * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes.
4
5 * window.c (Fwindow_buffer, Fother_window, Fget_lru_window)
6 (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on)
7 (Freplace_buffer_in_windows, Fset_window_buffer)
8 (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes.
9 (syms_of_window): Expand docstring of `display-buffer-function'.
10
112004-07-09 Luc Teirlinck <teirllm@auburn.edu>
12
13 * editfns.c (Ffloat_time, Fformat_time_string, Fdecode_time)
14 (Fcurrent_time_string, Fcurrent_time_zone): Mention in docstrings
15 that time values of the type (HIGH . LOW) are considered obsolete.
16
172004-07-06 Luc Teirlinck <teirllm@auburn.edu>
18
19 * keyboard.c (syms_of_keyboard): Fix `keyboard-translate-table'
20 docstring.
21
22 * fns.c (Fclear_string): Declare `len' before call to CHECK_STRING.
23
12004-07-06 John Paul Wallington <jpw@gnu.org> 242004-07-06 John Paul Wallington <jpw@gnu.org>
2 25
3 * eval.c (Fdefmacro): Signal an error if NAME is not a symbol. 26 * eval.c (Fdefmacro): Signal an error if NAME is not a symbol.
4 27
28 * fns.c (Fclear_string): Signal an error if STRING is not a string.
29
52004-07-05 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 302004-07-05 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
6 31
7 * macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList 32 * macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList
diff --git a/src/buffer.c b/src/buffer.c
index bd4e061b05f..8bc20776957 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1665,9 +1665,15 @@ switch_to_buffer_1 (buffer, norecord)
1665 1665
1666DEFUN ("switch-to-buffer", Fswitch_to_buffer, Sswitch_to_buffer, 1, 2, "BSwitch to buffer: ", 1666DEFUN ("switch-to-buffer", Fswitch_to_buffer, Sswitch_to_buffer, 1, 2, "BSwitch to buffer: ",
1667 doc: /* Select buffer BUFFER in the current window. 1667 doc: /* Select buffer BUFFER in the current window.
1668BUFFER may be a buffer or a buffer name. 1668If BUFFER does not identify an existing buffer,
1669then this function creates a buffer with that name.
1670
1671When called from Lisp, BUFFER may be a buffer, a string \(a buffer name),
1672or nil. If BUFFER is nil, then this function chooses a buffer
1673using `other-buffer'.
1669Optional second arg NORECORD non-nil means 1674Optional second arg NORECORD non-nil means
1670do not put this buffer at the front of the list of recently selected ones. 1675do not put this buffer at the front of the list of recently selected ones.
1676This function returns the buffer it switched to.
1671 1677
1672WARNING: This is NOT the way to work on another buffer temporarily 1678WARNING: This is NOT the way to work on another buffer temporarily
1673within a Lisp program! Use `set-buffer' instead. That avoids messing with 1679within a Lisp program! Use `set-buffer' instead. That avoids messing with
@@ -1690,11 +1696,15 @@ the window-buffer correspondences. */)
1690 1696
1691DEFUN ("pop-to-buffer", Fpop_to_buffer, Spop_to_buffer, 1, 3, 0, 1697DEFUN ("pop-to-buffer", Fpop_to_buffer, Spop_to_buffer, 1, 3, 0,
1692 doc: /* Select buffer BUFFER in some window, preferably a different one. 1698 doc: /* Select buffer BUFFER in some window, preferably a different one.
1693If BUFFER is nil, then some other buffer is chosen. 1699BUFFER may be a buffer, a string \(a buffer name), or nil.
1700If BUFFER is a string which is not the name of an existing buffer,
1701then this function creates a buffer with that name.
1702If BUFFER is nil, then it chooses some other buffer.
1694If `pop-up-windows' is non-nil, windows can be split to do this. 1703If `pop-up-windows' is non-nil, windows can be split to do this.
1695If optional second arg OTHER-WINDOW is non-nil, insist on finding another 1704If optional second arg OTHER-WINDOW is non-nil, insist on finding another
1696window even if BUFFER is already visible in the selected window, 1705window even if BUFFER is already visible in the selected window,
1697and ignore `same-window-regexps' and `same-window-buffer-names'. 1706and ignore `same-window-regexps' and `same-window-buffer-names'.
1707This function returns the buffer it switched to.
1698This uses the function `display-buffer' as a subroutine; see the documentation 1708This uses the function `display-buffer' as a subroutine; see the documentation
1699of `display-buffer' for additional customization information. 1709of `display-buffer' for additional customization information.
1700 1710
diff --git a/src/editfns.c b/src/editfns.c
index 9928beff678..2782a966bf0 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1426,10 +1426,10 @@ lisp_time_argument (specified_time, result, usec)
1426DEFUN ("float-time", Ffloat_time, Sfloat_time, 0, 1, 0, 1426DEFUN ("float-time", Ffloat_time, Sfloat_time, 0, 1, 0,
1427 doc: /* Return the current time, as a float number of seconds since the epoch. 1427 doc: /* Return the current time, as a float number of seconds since the epoch.
1428If SPECIFIED-TIME is given, it is the time to convert to float 1428If SPECIFIED-TIME is given, it is the time to convert to float
1429instead of the current time. The argument should have the forms: 1429instead of the current time. The argument should have the form
1430 (HIGH . LOW) or (HIGH LOW USEC) or (HIGH LOW . USEC). 1430(HIGH LOW . IGNORED). Thus, you can use times obtained from
1431Thus, you can use times obtained from `current-time' 1431`current-time' and from `file-attributes'. SPECIFIED-TIME can also
1432and from `file-attributes'. 1432have the form (HIGH . LOW), but this is considered obsolete.
1433 1433
1434WARNING: Since the result is floating point, it may not be exact. 1434WARNING: Since the result is floating point, it may not be exact.
1435Do not use this function if precise time stamps are required. */) 1435Do not use this function if precise time stamps are required. */)
@@ -1501,8 +1501,9 @@ emacs_memftimeu (s, maxsize, format, format_len, tp, ut)
1501 1501
1502DEFUN ("format-time-string", Fformat_time_string, Sformat_time_string, 1, 3, 0, 1502DEFUN ("format-time-string", Fformat_time_string, Sformat_time_string, 1, 3, 0,
1503 doc: /* Use FORMAT-STRING to format the time TIME, or now if omitted. 1503 doc: /* Use FORMAT-STRING to format the time TIME, or now if omitted.
1504TIME is specified as (HIGH LOW . IGNORED) or (HIGH . LOW), as returned by 1504TIME is specified as (HIGH LOW . IGNORED), as returned by
1505`current-time' or `file-attributes'. 1505`current-time' or `file-attributes'. The obsolete form (HIGH . LOW)
1506is also still accepted.
1506The third, optional, argument UNIVERSAL, if non-nil, means describe TIME 1507The third, optional, argument UNIVERSAL, if non-nil, means describe TIME
1507as Universal Time; nil means describe TIME in the local time zone. 1508as Universal Time; nil means describe TIME in the local time zone.
1508The value is a copy of FORMAT-STRING, but with certain constructs replaced 1509The value is a copy of FORMAT-STRING, but with certain constructs replaced
@@ -1598,17 +1599,19 @@ For example, to produce full ISO 8601 format, use "%Y-%m-%dT%T%z". */)
1598 1599
1599DEFUN ("decode-time", Fdecode_time, Sdecode_time, 0, 1, 0, 1600DEFUN ("decode-time", Fdecode_time, Sdecode_time, 0, 1, 0,
1600 doc: /* Decode a time value as (SEC MINUTE HOUR DAY MONTH YEAR DOW DST ZONE). 1601 doc: /* Decode a time value as (SEC MINUTE HOUR DAY MONTH YEAR DOW DST ZONE).
1601The optional SPECIFIED-TIME should be a list of (HIGH LOW . IGNORED) 1602The optional SPECIFIED-TIME should be a list of (HIGH LOW . IGNORED),
1602or (HIGH . LOW), as from `current-time' and `file-attributes', or `nil' 1603as from `current-time' and `file-attributes', or `nil' to use the
1603to use the current time. The list has the following nine members: 1604current time. The obsolete form (HIGH . LOW) is also still accepted.
1604SEC is an integer between 0 and 60; SEC is 60 for a leap second, which 1605The list has the following nine members: SEC is an integer between 0
1605only some operating systems support. MINUTE is an integer between 0 and 59. 1606and 60; SEC is 60 for a leap second, which only some operating systems
1606HOUR is an integer between 0 and 23. DAY is an integer between 1 and 31. 1607support. MINUTE is an integer between 0 and 59. HOUR is an integer
1607MONTH is an integer between 1 and 12. YEAR is an integer indicating the 1608between 0 and 23. DAY is an integer between 1 and 31. MONTH is an
1608four-digit year. DOW is the day of week, an integer between 0 and 6, where 1609integer between 1 and 12. YEAR is an integer indicating the
16090 is Sunday. DST is t if daylight savings time is effect, otherwise nil. 1610four-digit year. DOW is the day of week, an integer between 0 and 6,
1610ZONE is an integer indicating the number of seconds east of Greenwich. 1611where 0 is Sunday. DST is t if daylight savings time is effect,
1611(Note that Common Lisp has different meanings for DOW and ZONE.) */) 1612otherwise nil. ZONE is an integer indicating the number of seconds
1613east of Greenwich. (Note that Common Lisp has different meanings for
1614DOW and ZONE.) */)
1612 (specified_time) 1615 (specified_time)
1613 Lisp_Object specified_time; 1616 Lisp_Object specified_time;
1614{ 1617{
@@ -1740,13 +1743,11 @@ The format is `Sun Sep 16 01:03:52 1973'.
1740However, see also the functions `decode-time' and `format-time-string' 1743However, see also the functions `decode-time' and `format-time-string'
1741which provide a much more powerful and general facility. 1744which provide a much more powerful and general facility.
1742 1745
1743If SPECIFIED-TIME is given, it is a time to format instead 1746If SPECIFIED-TIME is given, it is a time to format instead of the
1744of the current time. The argument should have the form: 1747current time. The argument should have the form (HIGH LOW . IGNORED).
1745 (HIGH . LOW) 1748Thus, you can use times obtained from `current-time' and from
1746or the form: 1749`file-attributes'. SPECIFIED-TIME can also have the form (HIGH . LOW),
1747 (HIGH LOW . IGNORED). 1750but this is considered obsolete. */)
1748Thus, you can use times obtained from `current-time'
1749and from `file-attributes'. */)
1750 (specified_time) 1751 (specified_time)
1751 Lisp_Object specified_time; 1752 Lisp_Object specified_time;
1752{ 1753{
@@ -1797,12 +1798,10 @@ OFFSET is an integer number of seconds ahead of UTC (east of Greenwich).
1797 A negative value means west of Greenwich. 1798 A negative value means west of Greenwich.
1798NAME is a string giving the name of the time zone. 1799NAME is a string giving the name of the time zone.
1799If SPECIFIED-TIME is given, the time zone offset is determined from it 1800If SPECIFIED-TIME is given, the time zone offset is determined from it
1800instead of using the current time. The argument should have the form: 1801instead of using the current time. The argument should have the form
1801 (HIGH . LOW) 1802(HIGH LOW . IGNORED). Thus, you can use times obtained from
1802or the form: 1803`current-time' and from `file-attributes'. SPECIFIED-TIME can also
1803 (HIGH LOW . IGNORED). 1804have the form (HIGH . LOW), but this is considered obsolete.
1804Thus, you can use times obtained from `current-time'
1805and from `file-attributes'.
1806 1805
1807Some operating systems cannot provide all this information to Emacs; 1806Some operating systems cannot provide all this information to Emacs;
1808in this case, `current-time-zone' returns a list containing nil for 1807in this case, `current-time-zone' returns a list containing nil for
diff --git a/src/fns.c b/src/fns.c
index ef1ce628b17..fe59cb57793 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2298,7 +2298,9 @@ This makes STRING unibyte and may change its length. */)
2298 (string) 2298 (string)
2299 Lisp_Object string; 2299 Lisp_Object string;
2300{ 2300{
2301 int len = SBYTES (string); 2301 int len;
2302 CHECK_STRING (string);
2303 len = SBYTES (string);
2302 bzero (SDATA (string), len); 2304 bzero (SDATA (string), len);
2303 STRING_SET_CHARS (string, len); 2305 STRING_SET_CHARS (string, len);
2304 STRING_SET_UNIBYTE (string); 2306 STRING_SET_UNIBYTE (string);
diff --git a/src/keyboard.c b/src/keyboard.c
index 469b15fb683..382f99058d4 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -11149,11 +11149,13 @@ Useful to set before you dump a modified Emacs. */);
11149 11149
11150 DEFVAR_LISP ("keyboard-translate-table", &Vkeyboard_translate_table, 11150 DEFVAR_LISP ("keyboard-translate-table", &Vkeyboard_translate_table,
11151 doc: /* Translate table for keyboard input, or nil. 11151 doc: /* Translate table for keyboard input, or nil.
11152Each character is looked up in this string and the contents used instead. 11152If non-nil, the value should be a char-table. Each character read
11153The value may be a string, a vector, or a char-table. 11153from the keyboard is looked up in this char-table. If the value found
11154If it is a string or vector of length N, 11154there is non-nil, then it is used instead of the actual input character.
11155character codes N and up are untranslated. 11155
11156In a vector or a char-table, an element which is nil means "no translation". 11156The value can also be a string or vector, but this is considered obsolete.
11157If it is a string or vector of length N, character codes N and up are left
11158untranslated. In a vector, an element which is nil means "no translation".
11157 11159
11158This is applied to the characters supplied to input methods, not their 11160This is applied to the characters supplied to input methods, not their
11159output. See also `translation-table-for-input'. */); 11161output. See also `translation-table-for-input'. */);
diff --git a/src/window.c b/src/window.c
index d3203c99e90..62ce399e95c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -393,7 +393,8 @@ decode_any_window (window)
393} 393}
394 394
395DEFUN ("window-buffer", Fwindow_buffer, Swindow_buffer, 0, 1, 0, 395DEFUN ("window-buffer", Fwindow_buffer, Swindow_buffer, 0, 1, 0,
396 doc: /* Return the buffer that WINDOW is displaying. */) 396 doc: /* Return the buffer that WINDOW is displaying.
397WINDOW defaults to the selected window. */)
397 (window) 398 (window)
398 Lisp_Object window; 399 Lisp_Object window;
399{ 400{
@@ -1747,8 +1748,8 @@ DEFUN ("other-window", Fother_window, Sother_window, 1, 2, "p",
1747 doc: /* Select the ARG'th different window on this frame. 1748 doc: /* Select the ARG'th different window on this frame.
1748All windows on current frame are arranged in a cyclic order. 1749All windows on current frame are arranged in a cyclic order.
1749This command selects the window ARG steps away in that order. 1750This command selects the window ARG steps away in that order.
1750A negative ARG moves in the opposite order. If the optional second 1751A negative ARG moves in the opposite order. The optional second
1751argument ALL_FRAMES is non-nil, cycle through all frames. */) 1752argument ALL_FRAMES has the same meaning as in `next-window', which see. */)
1752 (arg, all_frames) 1753 (arg, all_frames)
1753 Lisp_Object arg, all_frames; 1754 Lisp_Object arg, all_frames;
1754{ 1755{
@@ -2066,6 +2067,7 @@ check_all_windows ()
2066DEFUN ("get-lru-window", Fget_lru_window, Sget_lru_window, 0, 1, 0, 2067DEFUN ("get-lru-window", Fget_lru_window, Sget_lru_window, 0, 1, 0,
2067 doc: /* Return the window least recently selected or used for display. 2068 doc: /* Return the window least recently selected or used for display.
2068Return a full-width window if possible. 2069Return a full-width window if possible.
2070A minibuffer window is never a candidate.
2069If optional argument FRAME is `visible', search all visible frames. 2071If optional argument FRAME is `visible', search all visible frames.
2070If FRAME is 0, search all visible and iconified frames. 2072If FRAME is 0, search all visible and iconified frames.
2071If FRAME is t, search all frames. 2073If FRAME is t, search all frames.
@@ -2085,6 +2087,7 @@ If FRAME is a frame, search only that frame. */)
2085 2087
2086DEFUN ("get-largest-window", Fget_largest_window, Sget_largest_window, 0, 1, 0, 2088DEFUN ("get-largest-window", Fget_largest_window, Sget_largest_window, 0, 1, 0,
2087 doc: /* Return the largest window in area. 2089 doc: /* Return the largest window in area.
2090A minibuffer window is never a candidate.
2088If optional argument FRAME is `visible', search all visible frames. 2091If optional argument FRAME is `visible', search all visible frames.
2089If FRAME is 0, search all visible and iconified frames. 2092If FRAME is 0, search all visible and iconified frames.
2090If FRAME is t, search all frames. 2093If FRAME is t, search all frames.
@@ -2099,6 +2102,7 @@ If FRAME is a frame, search only that frame. */)
2099 2102
2100DEFUN ("get-buffer-window", Fget_buffer_window, Sget_buffer_window, 1, 2, 0, 2103DEFUN ("get-buffer-window", Fget_buffer_window, Sget_buffer_window, 1, 2, 0,
2101 doc: /* Return a window currently displaying BUFFER, or nil if none. 2104 doc: /* Return a window currently displaying BUFFER, or nil if none.
2105BUFFER can be a buffer or a buffer name.
2102If optional argument FRAME is `visible', search all visible frames. 2106If optional argument FRAME is `visible', search all visible frames.
2103If optional argument FRAME is 0, search all visible and iconified frames. 2107If optional argument FRAME is 0, search all visible and iconified frames.
2104If FRAME is t, search all frames. 2108If FRAME is t, search all frames.
@@ -2181,6 +2185,7 @@ value is reasonable when this function is called. */)
2181DEFUN ("delete-windows-on", Fdelete_windows_on, Sdelete_windows_on, 2185DEFUN ("delete-windows-on", Fdelete_windows_on, Sdelete_windows_on,
2182 1, 2, "bDelete windows on (buffer): ", 2186 1, 2, "bDelete windows on (buffer): ",
2183 doc: /* Delete all windows showing BUFFER. 2187 doc: /* Delete all windows showing BUFFER.
2188BUFFER must be a buffer or the name of an existing buffer.
2184Optional second argument FRAME controls which frames are affected. 2189Optional second argument FRAME controls which frames are affected.
2185If optional argument FRAME is `visible', search all visible frames. 2190If optional argument FRAME is `visible', search all visible frames.
2186If FRAME is 0, search all visible and iconified frames. 2191If FRAME is 0, search all visible and iconified frames.
@@ -2210,7 +2215,8 @@ If FRAME is a frame, search only that frame. */)
2210DEFUN ("replace-buffer-in-windows", Freplace_buffer_in_windows, 2215DEFUN ("replace-buffer-in-windows", Freplace_buffer_in_windows,
2211 Sreplace_buffer_in_windows, 2216 Sreplace_buffer_in_windows,
2212 1, 1, "bReplace buffer in windows: ", 2217 1, 1, "bReplace buffer in windows: ",
2213 doc: /* Replace BUFFER with some other buffer in all windows showing it. */) 2218 doc: /* Replace BUFFER with some other buffer in all windows showing it.
2219BUFFER may be a buffer or the name of an existing buffer. */)
2214 (buffer) 2220 (buffer)
2215 Lisp_Object buffer; 2221 Lisp_Object buffer;
2216{ 2222{
@@ -3022,7 +3028,7 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
3022 3028
3023DEFUN ("set-window-buffer", Fset_window_buffer, Sset_window_buffer, 2, 3, 0, 3029DEFUN ("set-window-buffer", Fset_window_buffer, Sset_window_buffer, 2, 3, 0,
3024 doc: /* Make WINDOW display BUFFER as its contents. 3030 doc: /* Make WINDOW display BUFFER as its contents.
3025BUFFER can be a buffer or buffer name. 3031BUFFER can be a buffer or the name of an existing buffer.
3026Optional third arg KEEP-MARGINS non-nil means that WINDOW's current 3032Optional third arg KEEP-MARGINS non-nil means that WINDOW's current
3027display margins, fringe widths, and scroll bar settings are maintained; 3033display margins, fringe widths, and scroll bar settings are maintained;
3028the default is to reset these from BUFFER's local settings or the frame 3034the default is to reset these from BUFFER's local settings or the frame
@@ -3063,7 +3069,7 @@ defaults. */)
3063DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0, 3069DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0,
3064 doc: /* Select WINDOW. Most editing will apply to WINDOW's buffer. 3070 doc: /* Select WINDOW. Most editing will apply to WINDOW's buffer.
3065If WINDOW is not already selected, make WINDOW's buffer current 3071If WINDOW is not already selected, make WINDOW's buffer current
3066and make WINDOW the frame's selected window. 3072and make WINDOW the frame's selected window. Return WINDOW.
3067Optional second arg NORECORD non-nil means 3073Optional second arg NORECORD non-nil means
3068do not put this buffer at the front of the list of recently selected ones. 3074do not put this buffer at the front of the list of recently selected ones.
3069 3075
@@ -3247,7 +3253,8 @@ See `same-window-buffer-names' and `same-window-regexps'. */)
3247DEFUN ("display-buffer", Fdisplay_buffer, Sdisplay_buffer, 1, 3, 3253DEFUN ("display-buffer", Fdisplay_buffer, Sdisplay_buffer, 1, 3,
3248 "BDisplay buffer: \nP", 3254 "BDisplay buffer: \nP",
3249 doc: /* Make BUFFER appear in some window but don't select it. 3255 doc: /* Make BUFFER appear in some window but don't select it.
3250BUFFER can be a buffer or a buffer name. 3256BUFFER must be the name of an existing buffer, or, when called from Lisp,
3257a buffer.
3251If BUFFER is shown already in some window, just use that one, 3258If BUFFER is shown already in some window, just use that one,
3252unless the window is the selected window and the optional second 3259unless the window is the selected window and the optional second
3253argument NOT-THIS-WINDOW is non-nil (interactively, with prefix arg). 3260argument NOT-THIS-WINDOW is non-nil (interactively, with prefix arg).
@@ -3590,7 +3597,11 @@ WINDOW defaults to selected one and SIZE to half its size.
3590If optional third arg HORFLAG is non-nil, split side by side 3597If optional third arg HORFLAG is non-nil, split side by side
3591and put SIZE columns in the first of the pair. In that case, 3598and put SIZE columns in the first of the pair. In that case,
3592SIZE includes that window's scroll bar, or the divider column to its right. 3599SIZE includes that window's scroll bar, or the divider column to its right.
3593Returns the newly-created window. */) 3600Interactively, all arguments are nil.
3601
3602Returns the newly created window (which is the lower or rightmost one).
3603The upper or leftmost window is the original one and remains selected.
3604See Info node `(elisp)Splitting Windows' for more details and examples.*/)
3594 (window, size, horflag) 3605 (window, size, horflag)
3595 Lisp_Object window, size, horflag; 3606 Lisp_Object window, size, horflag;
3596{ 3607{
@@ -6455,7 +6466,9 @@ the buffer; `temp-buffer-show-hook' is not run unless this function runs it. */
6455 DEFVAR_LISP ("display-buffer-function", &Vdisplay_buffer_function, 6466 DEFVAR_LISP ("display-buffer-function", &Vdisplay_buffer_function,
6456 doc: /* If non-nil, function to call to handle `display-buffer'. 6467 doc: /* If non-nil, function to call to handle `display-buffer'.
6457It will receive two args, the buffer and a flag which if non-nil means 6468It will receive two args, the buffer and a flag which if non-nil means
6458 that the currently selected window is not acceptable. 6469that the currently selected window is not acceptable.
6470It should choose or create a window, display the specified buffer in it,
6471and return the window.
6459Commands such as `switch-to-buffer-other-window' and `find-file-other-window' 6472Commands such as `switch-to-buffer-other-window' and `find-file-other-window'
6460work using this function. */); 6473work using this function. */);
6461 Vdisplay_buffer_function = Qnil; 6474 Vdisplay_buffer_function = Qnil;