diff options
| author | Eli Zaretskii | 2001-05-17 10:59:18 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-05-17 10:59:18 +0000 |
| commit | 4c6a4739478d9d0b78aa583dbbd8ab8ec34c4dca (patch) | |
| tree | 69601021ff9d523cffa39f8041c7d278630bb04a | |
| parent | e0704d3bbbe905a2efc295d60c1050ff1e43d2c9 (diff) | |
| download | emacs-4c6a4739478d9d0b78aa583dbbd8ab8ec34c4dca.tar.gz emacs-4c6a4739478d9d0b78aa583dbbd8ab8ec34c4dca.zip | |
(switch-to-buffer-other-window, switch-to-buffer-other-frame): Add an xref
to display-buffer in the doc string.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/files.el | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0056be9dd63..3ed98c45b4c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2001-05-17 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * files.el (switch-to-buffer-other-window) | ||
| 4 | (switch-to-buffer-other-frame): Add an xref to display-buffer in | ||
| 5 | the doc string. | ||
| 6 | |||
| 1 | 2001-05-17 Gerd Moellmann <gerd@gnu.org> | 7 | 2001-05-17 Gerd Moellmann <gerd@gnu.org> |
| 2 | 8 | ||
| 3 | * language/slovak.el, language/czech.el: New maintainer. | 9 | * language/slovak.el, language/czech.el: New maintainer. |
diff --git a/lisp/files.el b/lisp/files.el index 0e99520c4b1..d0cbc2cc417 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -700,7 +700,10 @@ unlike `file-truename'." | |||
| 700 | (defun switch-to-buffer-other-window (buffer &optional norecord) | 700 | (defun switch-to-buffer-other-window (buffer &optional norecord) |
| 701 | "Select buffer BUFFER in another window. | 701 | "Select buffer BUFFER in another window. |
| 702 | Optional second arg NORECORD non-nil means | 702 | Optional second arg NORECORD non-nil means |
| 703 | do not put this buffer at the front of the list of recently selected ones." | 703 | do not put this buffer at the front of the list of recently selected ones. |
| 704 | |||
| 705 | This uses the function `display-buffer' as a subroutine; see its | ||
| 706 | documentation for additional customization information." | ||
| 704 | (interactive "BSwitch to buffer in other window: ") | 707 | (interactive "BSwitch to buffer in other window: ") |
| 705 | (let ((pop-up-windows t)) | 708 | (let ((pop-up-windows t)) |
| 706 | (pop-to-buffer buffer t norecord))) | 709 | (pop-to-buffer buffer t norecord))) |
| @@ -708,7 +711,10 @@ do not put this buffer at the front of the list of recently selected ones." | |||
| 708 | (defun switch-to-buffer-other-frame (buffer &optional norecord) | 711 | (defun switch-to-buffer-other-frame (buffer &optional norecord) |
| 709 | "Switch to buffer BUFFER in another frame. | 712 | "Switch to buffer BUFFER in another frame. |
| 710 | Optional second arg NORECORD non-nil means | 713 | Optional second arg NORECORD non-nil means |
| 711 | do not put this buffer at the front of the list of recently selected ones." | 714 | do not put this buffer at the front of the list of recently selected ones. |
| 715 | |||
| 716 | This uses the function `display-buffer' as a subroutine; see its | ||
| 717 | documentation for additional customization information." | ||
| 712 | (interactive "BSwitch to buffer in other frame: ") | 718 | (interactive "BSwitch to buffer in other frame: ") |
| 713 | (let ((pop-up-frames t)) | 719 | (let ((pop-up-frames t)) |
| 714 | (pop-to-buffer buffer t norecord) | 720 | (pop-to-buffer buffer t norecord) |