[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/window.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/window.c |
Date: |
Mon, 13 Oct 2003 14:44:24 -0400 |
Index: emacs/src/window.c
diff -c emacs/src/window.c:1.451 emacs/src/window.c:1.452
*** emacs/src/window.c:1.451 Mon Oct 13 12:11:27 2003
--- emacs/src/window.c Mon Oct 13 14:44:22 2003
***************
*** 5856,5869 ****
{
struct window *w = decode_window (window);
- /* TODO: It doesn't make sense to use FLOATs here, since
- the rest of the code assumes they are integers.
- So don't allow floats! ++KFS */
-
if (!NILP (left))
! CHECK_NUMBER_OR_FLOAT (left);
if (!NILP (right))
! CHECK_NUMBER_OR_FLOAT (right);
/* Check widths < 0 and translate a zero width to nil.
Margins that are too wide have to be checked elsewhere. */
--- 5856,5865 ----
{
struct window *w = decode_window (window);
if (!NILP (left))
! CHECK_NUMBER (left);
if (!NILP (right))
! CHECK_NUMBER (right);
/* Check widths < 0 and translate a zero width to nil.
Margins that are too wide have to be checked elsewhere. */
***************
*** 6447,6452 ****
--- 6443,6453 ----
followed by OTHER-ARGS--it can display BUFFER in any way it likes.
All this is done by the function found in `special-display-function'.
+ If the specified frame parameters include (same-buffer . t), the
+ buffer is displayed in the currently selected window. Otherwise, if
+ they include (same-frame . t), the buffer is displayed in a new window
+ in the currently selected frame.
+
If this variable appears \"not to work\", because you add a name to it
but that buffer still appears in the selected window, look at the
values of `same-window-buffer-names' and `same-window-regexps'.
***************
*** 6466,6471 ****
--- 6467,6477 ----
In the latter case, FUNCTION is called with the buffer as first argument,
followed by OTHER-ARGS--it can display the buffer in any way it likes.
All this is done by the function found in `special-display-function'.
+
+ If the specified frame parameters include (same-buffer . t), the
+ buffer is displayed in the currently selected window. Otherwise, if
+ they include (same-frame . t), the buffer is displayed in a new window
+ in the currently selected frame.
If this variable appears \"not to work\", because you add a regexp to it
but the matching buffers still appear in the selected window, look at the