comparison lisp/window-xemacs.el @ 2590:627e25731054

[xemacs-hg @ 2005-02-16 11:07:29 by aidan] Document use of `same-window-buffer-names,' `same-window-regexps' by pop-to-buffer and display-buffer. Cf. 16914.49053.99642.919278@gargle.gargle.HOWL .
author aidan
date Wed, 16 Feb 2005 11:07:30 +0000
parents 8e7b4a0c1a81
children 5bf18ccb05df
comparison
equal deleted inserted replaced
2589:55aea5392882 2590:627e25731054
698 current frame and create a new window regardless of whether the 698 current frame and create a new window regardless of whether the
699 buffer has a dedicated frame, and regardless of whether 699 buffer has a dedicated frame, and regardless of whether
700 OVERRIDE-FRAME was specified. 700 OVERRIDE-FRAME was specified.
701 701
702 If `pop-up-frames' is non-nil, make a new frame if no window shows BUFFER. 702 If `pop-up-frames' is non-nil, make a new frame if no window shows BUFFER.
703
704 If the buffer name is a member of the `same-window-buffer-names' list,
705 or matches one of the `same-window-regexps' expressions, display the
706 buffer in the currently selected window.
703 707
704 Returns the window displaying BUFFER." 708 Returns the window displaying BUFFER."
705 (interactive "BDisplay buffer:\nP") 709 (interactive "BDisplay buffer:\nP")
706 710
707 (let ((wconfig (current-window-configuration)) 711 (let ((wconfig (current-window-configuration))