emacs-diffs
[Top][All Lists]
Advanced

[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: Tue, 26 Apr 2005 18:41:28 -0400

Index: emacs/src/window.c
diff -c emacs/src/window.c:1.500 emacs/src/window.c:1.501
*** emacs/src/window.c:1.500    Sat Apr 23 16:18:23 2005
--- emacs/src/window.c  Tue Apr 26 22:41:28 2005
***************
*** 3263,3271 ****
  
  DEFUN ("special-display-p", Fspecial_display_p, Sspecial_display_p, 1, 1, 0,
         doc: /* Returns non-nil if a buffer named BUFFER-NAME gets a special 
frame.
! If the value is t, a frame would be created for that buffer
! using the default frame parameters.  If the value is a list,
! it is a list of frame parameters that would be used
  to make a frame for that buffer.
  The variables `special-display-buffer-names'
  and `special-display-regexps' control this.  */)
--- 3263,3272 ----
  
  DEFUN ("special-display-p", Fspecial_display_p, Sspecial_display_p, 1, 1, 0,
         doc: /* Returns non-nil if a buffer named BUFFER-NAME gets a special 
frame.
! If the value is t, `display-buffer' or `pop-to-buffer' would create a
! special frame for that buffer using the default frame parameters.
! 
! If the value is a list, it is a list of frame parameters that would be used
  to make a frame for that buffer.
  The variables `special-display-buffer-names'
  and `special-display-regexps' control this.  */)
***************
*** 3299,3305 ****
  }
  
  DEFUN ("same-window-p", Fsame_window_p, Ssame_window_p, 1, 1, 0,
!        doc: /* Returns non-nil if a new buffer named BUFFER-NAME would use 
the same window.
  See `same-window-buffer-names' and `same-window-regexps'.  */)
       (buffer_name)
       Lisp_Object buffer_name;
--- 3300,3308 ----
  }
  
  DEFUN ("same-window-p", Fsame_window_p, Ssame_window_p, 1, 1, 0,
!        doc: /* Returns non-nil if a buffer named BUFFER-NAME would use the 
same window.
! More precisely, if `display-buffer' or `pop-to-buffer' would display
! that buffer in the selected window rather than (as usual) in some other 
window.
  See `same-window-buffer-names' and `same-window-regexps'.  */)
       (buffer_name)
       Lisp_Object buffer_name;
***************
*** 6748,6754 ****
  
    DEFVAR_LISP ("special-display-buffer-names", &Vspecial_display_buffer_names,
               doc: /* *List of buffer names that should have their own special 
frames.
! Displaying a buffer whose name is in this list makes a special frame for it
  using `special-display-function'.  See also `special-display-regexps'.
  
  An element of the list can be a list instead of just a string.
--- 6751,6758 ----
  
    DEFVAR_LISP ("special-display-buffer-names", &Vspecial_display_buffer_names,
               doc: /* *List of buffer names that should have their own special 
frames.
! Displaying a buffer with `display-buffer' or `pop-to-buffer',
! if its name is in this list, makes a special frame for it
  using `special-display-function'.  See also `special-display-regexps'.
  
  An element of the list can be a list instead of just a string.
***************
*** 6773,6781 ****
  
    DEFVAR_LISP ("special-display-regexps", &Vspecial_display_regexps,
               doc: /* *List of regexps saying which buffers should have their 
own special frames.
! If a buffer name matches one of these regexps, it gets its own frame.
! Displaying a buffer whose name is in this list makes a special frame for it
! using `special-display-function'.
  
  An element of the list can be a list instead of just a string.
  There are two ways to use a list as an element:
--- 6777,6785 ----
  
    DEFVAR_LISP ("special-display-regexps", &Vspecial_display_regexps,
               doc: /* *List of regexps saying which buffers should have their 
own special frames.
! When displaying a buffer with `display-buffer' or `pop-to-buffer',
! if any regexp in this list matches the buffer name, it makes a
! special frame for the buffer by calling `special-display-function'.
  
  An element of the list can be a list instead of just a string.
  There are two ways to use a list as an element:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]