diff options
| author | Miles Bader | 2004-07-17 02:46:48 +0000 |
|---|---|---|
| committer | Miles Bader | 2004-07-17 02:46:48 +0000 |
| commit | 21d1ca18bfb71eb82b574fd55339bc7441e6a449 (patch) | |
| tree | 454ad66687571c05feba856074dca94209292a4a /lispref | |
| parent | 89f3c0c9fda25756ee311a6d0467a97bac203eb5 (diff) | |
| parent | dd0a3ea36a52518f4fcd2dea97859cfba63158f8 (diff) | |
| download | emacs-21d1ca18bfb71eb82b574fd55339bc7441e6a449.tar.gz emacs-21d1ca18bfb71eb82b574fd55339bc7441e6a449.zip | |
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-24
Merge from lorentey@elte.hu--2004/emacs--hacks--0, emacs--cvs-trunk--0
Patches applied:
* lorentey@elte.hu--2004/emacs--hacks--0--patch-2
Prevent special events from appending dashes to the echo string.
* lorentey@elte.hu--2004/emacs--hacks--0--patch-4
Added ChangeLog entry.
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-451
Update from CVS: lisp/subr.el (get-buffer-window-list): Doc fix.
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-452
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-454
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-455
Bash the dashes
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-456
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-458
Update from CVS
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/ChangeLog | 19 | ||||
| -rw-r--r-- | lispref/buffers.texi | 6 | ||||
| -rw-r--r-- | lispref/display.texi | 9 | ||||
| -rw-r--r-- | lispref/searching.texi | 13 | ||||
| -rw-r--r-- | lispref/windows.texi | 104 |
5 files changed, 111 insertions, 40 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index cdf120e7a41..a8c9c295a83 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,22 @@ | |||
| 1 | 2004-07-16 Jim Blandy <jimb@redhat.com> | ||
| 2 | |||
| 3 | * searching.texi (Regexp Backslash): Document new \_< and \_> | ||
| 4 | operators. | ||
| 5 | |||
| 6 | 2004-07-16 Juanma Barranquero <lektu@terra.es> | ||
| 7 | |||
| 8 | * display.texi (Images): Fix Texinfo usage. | ||
| 9 | |||
| 10 | 2004-07-14 Luc Teirlinck <teirllm@auburn.edu> | ||
| 11 | |||
| 12 | * buffers.texi (Modification Time): `visited-file-modtime' now | ||
| 13 | returns a list of two integers, instead of a cons. | ||
| 14 | |||
| 15 | 2004-07-13 Luc Teirlinck <teirllm@auburn.edu> | ||
| 16 | |||
| 17 | * windows.texi: Various changes in addition to: | ||
| 18 | (Splitting Windows): Add `split-window-keep-point'. | ||
| 19 | |||
| 1 | 2004-07-09 Richard M. Stallman <rms@gnu.org> | 20 | 2004-07-09 Richard M. Stallman <rms@gnu.org> |
| 2 | 21 | ||
| 3 | * frames.texi (Input Focus): Minor fix. | 22 | * frames.texi (Input Focus): Minor fix. |
diff --git a/lispref/buffers.texi b/lispref/buffers.texi index 8391159c088..d39a0746fe1 100644 --- a/lispref/buffers.texi +++ b/lispref/buffers.texi | |||
| @@ -625,9 +625,9 @@ file should not be done. | |||
| 625 | @c Emacs 19 feature | 625 | @c Emacs 19 feature |
| 626 | @defun visited-file-modtime | 626 | @defun visited-file-modtime |
| 627 | This function returns the current buffer's recorded last file | 627 | This function returns the current buffer's recorded last file |
| 628 | modification time, as a list of the form @code{(@var{high} . | 628 | modification time, as a list of the form @code{(@var{high} @var{low})}. |
| 629 | @var{low})}. (This is the same format that @code{file-attributes} | 629 | (This is the same format that @code{file-attributes} uses to return |
| 630 | uses to return time values; see @ref{File Attributes}.) | 630 | time values; see @ref{File Attributes}.) |
| 631 | 631 | ||
| 632 | The function returns zero if the buffer has no recorded last | 632 | The function returns zero if the buffer has no recorded last |
| 633 | modification time, which can happen, for instance, if the record has | 633 | modification time, which can happen, for instance, if the record has |
diff --git a/lispref/display.texi b/lispref/display.texi index b6fd015beba..e77edc88aa1 100644 --- a/lispref/display.texi +++ b/lispref/display.texi | |||
| @@ -2907,7 +2907,7 @@ To know which image types are really available, use | |||
| 2907 | This in an alist of image types vs external libraries needed to | 2907 | This in an alist of image types vs external libraries needed to |
| 2908 | display them. | 2908 | display them. |
| 2909 | 2909 | ||
| 2910 | Each element is a list @code{(@var{IMAGE-TYPE} @var{LIBRARY}...)}, | 2910 | Each element is a list @code{(@var{image-type} @var{library}...)}, |
| 2911 | where the car is a supported image format from @code{image-types}, and | 2911 | where the car is a supported image format from @code{image-types}, and |
| 2912 | the rest are strings giving alternate filenames for the corresponding | 2912 | the rest are strings giving alternate filenames for the corresponding |
| 2913 | external libraries to load. | 2913 | external libraries to load. |
| @@ -2924,9 +2924,10 @@ into Emacs. | |||
| 2924 | @defun image-type-available-p type | 2924 | @defun image-type-available-p type |
| 2925 | @findex image-type-available-p | 2925 | @findex image-type-available-p |
| 2926 | 2926 | ||
| 2927 | This function returns non-nil if image type @var{TYPE} is available, | 2927 | This function returns non-@code{nil} if image type @var{type} is |
| 2928 | i.e., if images of this type can be loaded and displayed in Emacs. | 2928 | available, i.e., if images of this type can be loaded and displayed in |
| 2929 | @var{TYPE} should be one of the types contained in @code{image-types}. | 2929 | Emacs. @var{type} should be one of the types contained in |
| 2930 | @code{image-types}. | ||
| 2930 | 2931 | ||
| 2931 | For image types whose support libraries are statically linked, this | 2932 | For image types whose support libraries are statically linked, this |
| 2932 | function always returns @code{t}; for other image types, it returns | 2933 | function always returns @code{t}; for other image types, it returns |
diff --git a/lispref/searching.texi b/lispref/searching.texi index 4a2703fd640..fd0d0e172a0 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi | |||
| @@ -666,6 +666,19 @@ word-constituent character follows. | |||
| 666 | matches the empty string, but only at the end of a word. @samp{\>} | 666 | matches the empty string, but only at the end of a word. @samp{\>} |
| 667 | matches at the end of the buffer (or string) only if the contents end | 667 | matches at the end of the buffer (or string) only if the contents end |
| 668 | with a word-constituent character. | 668 | with a word-constituent character. |
| 669 | |||
| 670 | @item \_< | ||
| 671 | @cindex @samp{\_<} in regexp | ||
| 672 | matches the empty string, but only at the beginning of a symbol. A | ||
| 673 | symbol is a sequence of one or more word or symbol constituent | ||
| 674 | characters. @samp{\_<} matches at the beginning of the buffer (or | ||
| 675 | string) only if a symbol-constituent character follows. | ||
| 676 | |||
| 677 | @item \_> | ||
| 678 | @cindex @samp{\_>} in regexp | ||
| 679 | matches the empty string, but only at the end of a symbol. @samp{\_>} | ||
| 680 | matches at the end of the buffer (or string) only if the contents end | ||
| 681 | with a symbol-constituent character. | ||
| 669 | @end table | 682 | @end table |
| 670 | 683 | ||
| 671 | @kindex invalid-regexp | 684 | @kindex invalid-regexp |
diff --git a/lispref/windows.texi b/lispref/windows.texi index 01d7d3bfb4b..92eb6cbc85d 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi | |||
| @@ -158,7 +158,6 @@ This function splits @var{window} into two windows. The original | |||
| 158 | window @var{window} remains the selected window, but occupies only | 158 | window @var{window} remains the selected window, but occupies only |
| 159 | part of its former screen area. The rest is occupied by a newly created | 159 | part of its former screen area. The rest is occupied by a newly created |
| 160 | window which is returned as the value of this function. | 160 | window which is returned as the value of this function. |
| 161 | This function returns the newly created window. | ||
| 162 | 161 | ||
| 163 | If @var{horizontal} is non-@code{nil}, then @var{window} splits into | 162 | If @var{horizontal} is non-@code{nil}, then @var{window} splits into |
| 164 | two side by side windows. The original window @var{window} keeps the | 163 | two side by side windows. The original window @var{window} keeps the |
| @@ -272,12 +271,34 @@ This function splits the selected window into two windows, one above the | |||
| 272 | other, leaving the upper of the two windows selected, with @var{size} | 271 | other, leaving the upper of the two windows selected, with @var{size} |
| 273 | lines. (If @var{size} is negative, then the lower of the two windows | 272 | lines. (If @var{size} is negative, then the lower of the two windows |
| 274 | gets @minus{} @var{size} lines and the upper window gets the rest, but | 273 | gets @minus{} @var{size} lines and the upper window gets the rest, but |
| 275 | the upper window is still the one selected.) | 274 | the upper window is still the one selected.) However, if |
| 275 | @code{split-window-keep-point} (see below) is @code{nil}, then either | ||
| 276 | window can be selected. | ||
| 277 | |||
| 278 | In other respects, this function is similar to @code{split-window}. | ||
| 279 | In particular, the upper window is the original one and the return | ||
| 280 | value is the new, lower window. | ||
| 276 | @end deffn | 281 | @end deffn |
| 277 | 282 | ||
| 283 | @defopt split-window-keep-point | ||
| 284 | If this variable is non-@code{nil} (the default), then | ||
| 285 | @code{split-window-vertically} behaves as described above. | ||
| 286 | |||
| 287 | If it is @code{nil}, then @code{split-window-vertically} adjusts point | ||
| 288 | in each of the two windows to avoid scrolling. (This is useful on | ||
| 289 | slow terminals.) It selects whichever window contains the screen line | ||
| 290 | that point was previously on. | ||
| 291 | |||
| 292 | This variable only affects the behavior of @code{split-window-vertically}. | ||
| 293 | It has no effect on the other functions described here. | ||
| 294 | @end defopt | ||
| 295 | |||
| 278 | @deffn Command split-window-horizontally &optional size | 296 | @deffn Command split-window-horizontally &optional size |
| 279 | This function splits the selected window into two windows | 297 | This function splits the selected window into two windows |
| 280 | side-by-side, leaving the selected window with @var{size} columns. | 298 | side-by-side, leaving the selected window on the left with @var{size} |
| 299 | columns. If @var{size} is negative, the rightmost window gets | ||
| 300 | @minus{} @var{size} columns, but the leftmost window still remains | ||
| 301 | selected. | ||
| 281 | 302 | ||
| 282 | This function is basically an interface to @code{split-window}. | 303 | This function is basically an interface to @code{split-window}. |
| 283 | You could define a simplified version of the function like this: | 304 | You could define a simplified version of the function like this: |
| @@ -364,17 +385,19 @@ deleting the other windows in that frame. If @var{window} is omitted or | |||
| 364 | The return value is @code{nil}. | 385 | The return value is @code{nil}. |
| 365 | @end deffn | 386 | @end deffn |
| 366 | 387 | ||
| 367 | @deffn Command delete-windows-on buffer &optional frame | 388 | @deffn Command delete-windows-on buffer-or-name &optional frame |
| 368 | This function deletes all windows showing @var{buffer}. If there are | 389 | This function deletes all windows showing @var{buffer-or-name}. If |
| 369 | no windows showing @var{buffer}, it does nothing. | 390 | there are no windows showing @var{buffer-or-name}, it does nothing. |
| 391 | @var{buffer-or-name} must be a buffer or the name of an existing | ||
| 392 | buffer. | ||
| 370 | 393 | ||
| 371 | @code{delete-windows-on} operates frame by frame. If a frame has | 394 | @code{delete-windows-on} operates frame by frame. If a frame has |
| 372 | several windows showing different buffers, then those showing | 395 | several windows showing different buffers, then those showing |
| 373 | @var{buffer} are removed, and the others expand to fill the space. If | 396 | @var{buffer-or-name} are removed, and the others expand to fill the |
| 374 | all windows in some frame are showing @var{buffer} (including the case | 397 | space. If all windows in some frame are showing @var{buffer-or-name} |
| 375 | where there is only one window), then the frame reverts to having a | 398 | (including the case where there is only one window), then the frame |
| 376 | single window showing another buffer chosen with @code{other-buffer}. | 399 | winds up with a single window showing another buffer chosen with |
| 377 | @xref{The Buffer List}. | 400 | @code{other-buffer}. @xref{The Buffer List}. |
| 378 | 401 | ||
| 379 | The argument @var{frame} controls which frames to operate on. This | 402 | The argument @var{frame} controls which frames to operate on. This |
| 380 | function does not use it in quite the same way as the other functions | 403 | function does not use it in quite the same way as the other functions |
| @@ -412,8 +435,9 @@ which the cursor appears and to which many commands apply. | |||
| 412 | 435 | ||
| 413 | @defun select-window window &optional norecord | 436 | @defun select-window window &optional norecord |
| 414 | This function makes @var{window} the selected window. The cursor then | 437 | This function makes @var{window} the selected window. The cursor then |
| 415 | appears in @var{window} (on redisplay). The buffer being displayed in | 438 | appears in @var{window} (on redisplay). Unless @var{window} was |
| 416 | @var{window} is immediately designated the current buffer. | 439 | already selected, @code{select-window} makes @var{window}'s buffer the |
| 440 | current buffer. | ||
| 417 | 441 | ||
| 418 | Normally @var{window}'s selected buffer is moved to the front of the | 442 | Normally @var{window}'s selected buffer is moved to the front of the |
| 419 | buffer list, but if @var{norecord} is non-@code{nil}, the buffer list | 443 | buffer list, but if @var{norecord} is non-@code{nil}, the buffer list |
| @@ -431,14 +455,18 @@ The return value is @var{window}. | |||
| 431 | @end defun | 455 | @end defun |
| 432 | 456 | ||
| 433 | @defmac save-selected-window forms@dots{} | 457 | @defmac save-selected-window forms@dots{} |
| 434 | This macro records the selected window of each frame, executes | 458 | This macro records the selected window, as well as the selected window |
| 435 | @var{forms} in sequence, then restores the earlier selected windows. | 459 | of each frame, executes @var{forms} in sequence, then restores the |
| 460 | earlier selected windows. It returns the value of the last form in | ||
| 461 | @var{forms}. | ||
| 436 | 462 | ||
| 437 | This macro does not save or restore anything about the sizes, | 463 | This macro does not save or restore anything about the sizes, |
| 438 | arrangement or contents of windows; therefore, if the @var{forms} | 464 | arrangement or contents of windows; therefore, if the @var{forms} |
| 439 | change them, the change persists. If the previously selected window | 465 | change them, the change persists. If the previously selected window |
| 440 | of some frame is no longer live at the time of exit from this form, | 466 | of some frame is no longer live at the time of exit from @var{forms}, |
| 441 | that frame's selected window is left alone. | 467 | that frame's selected window is left alone. If the previously |
| 468 | selected window is no longer live, then whatever window is selected at | ||
| 469 | the end of @var{forms} remains selected. | ||
| 442 | @end defmac | 470 | @end defmac |
| 443 | 471 | ||
| 444 | @defmac with-selected-window window forms@dots{} | 472 | @defmac with-selected-window window forms@dots{} |
| @@ -446,7 +474,7 @@ This macro selects @var{window} (without changing the buffer list), | |||
| 446 | executes @var{forms} in sequence, then restores the previously | 474 | executes @var{forms} in sequence, then restores the previously |
| 447 | selected window (unless that window is no longer alive). It is similar | 475 | selected window (unless that window is no longer alive). It is similar |
| 448 | to @code{save-selected-window} except that it explicitly selects | 476 | to @code{save-selected-window} except that it explicitly selects |
| 449 | @var{window} and that it does not alter the buffer list sequence. | 477 | @var{window}, without altering the buffer list sequence. |
| 450 | @end defmac | 478 | @end defmac |
| 451 | 479 | ||
| 452 | @cindex finding windows | 480 | @cindex finding windows |
| @@ -556,7 +584,9 @@ are the possible values and their meanings: | |||
| 556 | @table @asis | 584 | @table @asis |
| 557 | @item @code{nil} | 585 | @item @code{nil} |
| 558 | Consider all the windows in @var{window}'s frame, plus the minibuffer | 586 | Consider all the windows in @var{window}'s frame, plus the minibuffer |
| 559 | used by that frame even if it lies in some other frame. | 587 | used by that frame even if it lies in some other frame. If the |
| 588 | minibuffer counts (as determined by @var{minibuf}), then all windows on | ||
| 589 | all frames that share that minibuffer count too. | ||
| 560 | 590 | ||
| 561 | @item @code{t} | 591 | @item @code{t} |
| 562 | Consider all windows in all existing frames. | 592 | Consider all windows in all existing frames. |
| @@ -658,9 +688,10 @@ when you need complete control. | |||
| 658 | 688 | ||
| 659 | @defun set-window-buffer window buffer-or-name &optional keep-margins | 689 | @defun set-window-buffer window buffer-or-name &optional keep-margins |
| 660 | This function makes @var{window} display @var{buffer-or-name} as its | 690 | This function makes @var{window} display @var{buffer-or-name} as its |
| 661 | contents. It returns @code{nil}. This is the fundamental primitive | 691 | contents. It returns @code{nil}. @var{buffer-or-name} must be a |
| 662 | for changing which buffer is displayed in a window, and all ways | 692 | buffer, or the name of an existing buffer. This is the fundamental |
| 663 | of doing that call this function. | 693 | primitive for changing which buffer is displayed in a window, and all |
| 694 | ways of doing that call this function. | ||
| 664 | 695 | ||
| 665 | @example | 696 | @example |
| 666 | @group | 697 | @group |
| @@ -770,7 +801,8 @@ the current buffer but does not display it in the selected window. | |||
| 770 | If @var{buffer-or-name} does not identify an existing buffer, then a new | 801 | If @var{buffer-or-name} does not identify an existing buffer, then a new |
| 771 | buffer by that name is created. The major mode for the new buffer is | 802 | buffer by that name is created. The major mode for the new buffer is |
| 772 | set according to the variable @code{default-major-mode}. @xref{Auto | 803 | set according to the variable @code{default-major-mode}. @xref{Auto |
| 773 | Major Mode}. | 804 | Major Mode}. If @var{buffer-or-name} is @code{nil}, |
| 805 | @code{switch-to-buffer} chooses a buffer using @code{other-buffer}. | ||
| 774 | 806 | ||
| 775 | Normally the specified buffer is put at the front of the buffer list | 807 | Normally the specified buffer is put at the front of the buffer list |
| 776 | (both the selected frame's buffer list and the frame-independent buffer | 808 | (both the selected frame's buffer list and the frame-independent buffer |
| @@ -783,6 +815,9 @@ the binding of @kbd{C-x b}. It is also used frequently in programs. It | |||
| 783 | returns the buffer that it switched to. | 815 | returns the buffer that it switched to. |
| 784 | @end deffn | 816 | @end deffn |
| 785 | 817 | ||
| 818 | The next two functions are similar to @code{switch-to-buffer}, except | ||
| 819 | for the described features. | ||
| 820 | |||
| 786 | @deffn Command switch-to-buffer-other-window buffer-or-name &optional norecord | 821 | @deffn Command switch-to-buffer-other-window buffer-or-name &optional norecord |
| 787 | This function makes @var{buffer-or-name} the current buffer and | 822 | This function makes @var{buffer-or-name} the current buffer and |
| 788 | displays it in a window not currently selected. It then selects that | 823 | displays it in a window not currently selected. It then selects that |
| @@ -842,12 +877,12 @@ This function updates the buffer list just like @code{switch-to-buffer} | |||
| 842 | unless @var{norecord} is non-@code{nil}. | 877 | unless @var{norecord} is non-@code{nil}. |
| 843 | @end defun | 878 | @end defun |
| 844 | 879 | ||
| 845 | @deffn Command replace-buffer-in-windows buffer | 880 | @deffn Command replace-buffer-in-windows buffer-or-name |
| 846 | This function replaces @var{buffer} with some other buffer in all | 881 | This function replaces @var{buffer-or-name} with some other buffer in all |
| 847 | windows displaying it. The other buffer used is chosen with | 882 | windows displaying it. It chooses the other buffer with |
| 848 | @code{other-buffer}. In the usual applications of this function, you | 883 | @code{other-buffer}. In the usual applications of this function, you |
| 849 | don't care which other buffer is used; you just want to make sure that | 884 | don't care which other buffer is used; you just want to make sure that |
| 850 | @var{buffer} is no longer displayed. | 885 | @var{buffer-or-name} is no longer displayed. |
| 851 | 886 | ||
| 852 | This function returns @code{nil}. | 887 | This function returns @code{nil}. |
| 853 | @end deffn | 888 | @end deffn |
| @@ -864,7 +899,8 @@ functions and commands use this subroutine. Here we describe how to use | |||
| 864 | This command makes @var{buffer-or-name} appear in some window, like | 899 | This command makes @var{buffer-or-name} appear in some window, like |
| 865 | @code{pop-to-buffer}, but it does not select that window and does not | 900 | @code{pop-to-buffer}, but it does not select that window and does not |
| 866 | make the buffer current. The identity of the selected window is | 901 | make the buffer current. The identity of the selected window is |
| 867 | unaltered by this function. | 902 | unaltered by this function. @var{buffer-or-name} must be a buffer, or |
| 903 | the name of an existing buffer. | ||
| 868 | 904 | ||
| 869 | If @var{not-this-window} is non-@code{nil}, it means to display the | 905 | If @var{not-this-window} is non-@code{nil}, it means to display the |
| 870 | specified buffer in a window other than the selected one, even if it is | 906 | specified buffer in a window other than the selected one, even if it is |
| @@ -885,6 +921,7 @@ values of @var{frame}: | |||
| 885 | @itemize @bullet | 921 | @itemize @bullet |
| 886 | @item | 922 | @item |
| 887 | If it is @code{nil}, consider windows on the selected frame. | 923 | If it is @code{nil}, consider windows on the selected frame. |
| 924 | (Actually, the last non-minibuffer frame.) | ||
| 888 | @item | 925 | @item |
| 889 | If it is @code{t}, consider windows on all frames. | 926 | If it is @code{t}, consider windows on all frames. |
| 890 | @item | 927 | @item |
| @@ -1017,7 +1054,7 @@ create the frame. See above, under @code{special-display-buffer-names}. | |||
| 1017 | This function returns non-@code{nil} if displaying a buffer | 1054 | This function returns non-@code{nil} if displaying a buffer |
| 1018 | named @var{buffer-name} with @code{display-buffer} would | 1055 | named @var{buffer-name} with @code{display-buffer} would |
| 1019 | create a special frame. The value is @code{t} if it would | 1056 | create a special frame. The value is @code{t} if it would |
| 1020 | use the default frame paramaters, or else the specified list | 1057 | use the default frame parameters, or else the specified list |
| 1021 | of frame parameters. | 1058 | of frame parameters. |
| 1022 | @end defun | 1059 | @end defun |
| 1023 | 1060 | ||
| @@ -1030,11 +1067,12 @@ The default value of this variable is | |||
| 1030 | @code{special-display-popup-frame}. | 1067 | @code{special-display-popup-frame}. |
| 1031 | @end defvar | 1068 | @end defvar |
| 1032 | 1069 | ||
| 1033 | @defun special-display-popup-frame buffer &rest args | 1070 | @defun special-display-popup-frame buffer &optional args |
| 1034 | This function makes @var{buffer} visible in a frame of its own. If | 1071 | This function makes @var{buffer} visible in a frame of its own. If |
| 1035 | @var{buffer} is already displayed in a window in some frame, it makes | 1072 | @var{buffer} is already displayed in a window in some frame, it makes |
| 1036 | the frame visible and raises it, to use that window. Otherwise, it | 1073 | the frame visible and raises it, to use that window. Otherwise, it |
| 1037 | creates a frame that will be dedicated to @var{buffer}. | 1074 | creates a frame that will be dedicated to @var{buffer}. This |
| 1075 | function returns the window it used. | ||
| 1038 | 1076 | ||
| 1039 | If @var{args} is an alist, it specifies frame parameters for the new | 1077 | If @var{args} is an alist, it specifies frame parameters for the new |
| 1040 | frame. | 1078 | frame. |
| @@ -1080,9 +1118,9 @@ put it in the selected window. | |||
| 1080 | This variable is the most flexible way to customize the behavior of | 1118 | This variable is the most flexible way to customize the behavior of |
| 1081 | @code{display-buffer}. If it is non-@code{nil}, it should be a function | 1119 | @code{display-buffer}. If it is non-@code{nil}, it should be a function |
| 1082 | that @code{display-buffer} calls to do the work. The function should | 1120 | that @code{display-buffer} calls to do the work. The function should |
| 1083 | accept two arguments, the same two arguments that @code{display-buffer} | 1121 | accept two arguments, the first two arguments that @code{display-buffer} |
| 1084 | received. It should choose or create a window, display the specified | 1122 | received. It should choose or create a window, display the specified |
| 1085 | buffer, and then return the window. | 1123 | buffer in it, and then return the window. |
| 1086 | 1124 | ||
| 1087 | This hook takes precedence over all the other options and hooks | 1125 | This hook takes precedence over all the other options and hooks |
| 1088 | described above. | 1126 | described above. |