/[emacs]/emacs/src/window.c
ViewVC logotype

Diff of /emacs/src/window.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.451 by lute, Mon Oct 13 16:11:27 2003 UTC revision 1.452 by rms, Mon Oct 13 18:44:22 2003 UTC
# Line 5856  A nil width parameter means no margin. Line 5856  A nil width parameter means no margin.
5856  {  {
5857    struct window *w = decode_window (window);    struct window *w = decode_window (window);
5858    
   /* 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 */  
   
5859    if (!NILP (left))    if (!NILP (left))
5860      CHECK_NUMBER_OR_FLOAT (left);      CHECK_NUMBER (left);
5861    if (!NILP (right))    if (!NILP (right))
5862      CHECK_NUMBER_OR_FLOAT (right);      CHECK_NUMBER (right);
5863    
5864    /* Check widths < 0 and translate a zero width to nil.    /* Check widths < 0 and translate a zero width to nil.
5865       Margins that are too wide have to be checked elsewhere.  */       Margins that are too wide have to be checked elsewhere.  */
# Line 6447  In the latter case, FUNCTION is called w Line 6443  In the latter case, FUNCTION is called w
6443  followed by OTHER-ARGS--it can display BUFFER in any way it likes.  followed by OTHER-ARGS--it can display BUFFER in any way it likes.
6444  All this is done by the function found in `special-display-function'.  All this is done by the function found in `special-display-function'.
6445    
6446    If the specified frame parameters include (same-buffer . t), the
6447    buffer is displayed in the currently selected window.  Otherwise, if
6448    they include (same-frame . t), the buffer is displayed in a new window
6449    in the currently selected frame.
6450    
6451  If this variable appears \"not to work\", because you add a name to it  If this variable appears \"not to work\", because you add a name to it
6452  but that buffer still appears in the selected window, look at the  but that buffer still appears in the selected window, look at the
6453  values of `same-window-buffer-names' and `same-window-regexps'.  values of `same-window-buffer-names' and `same-window-regexps'.
# Line 6467  In the latter case, FUNCTION is called w Line 6468  In the latter case, FUNCTION is called w
6468  followed by OTHER-ARGS--it can display the buffer in any way it likes.  followed by OTHER-ARGS--it can display the buffer in any way it likes.
6469  All this is done by the function found in `special-display-function'.  All this is done by the function found in `special-display-function'.
6470    
6471    If the specified frame parameters include (same-buffer . t), the
6472    buffer is displayed in the currently selected window.  Otherwise, if
6473    they include (same-frame . t), the buffer is displayed in a new window
6474    in the currently selected frame.
6475    
6476  If this variable appears \"not to work\", because you add a regexp to it  If this variable appears \"not to work\", because you add a regexp to it
6477  but the matching buffers still appear in the selected window, look at the  but the matching buffers still appear in the selected window, look at the
6478  values of `same-window-buffer-names' and `same-window-regexps'.  values of `same-window-buffer-names' and `same-window-regexps'.

Legend:
Removed from v.1.451  
changed lines
  Added in v.1.452

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26