]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix doc-strings of switch-to-buffer family functions (bug#8875).
authorMartin Rudalics <rudalics@gmx.at>
Thu, 16 Jun 2011 08:55:08 +0000 (10:55 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 16 Jun 2011 08:55:08 +0000 (10:55 +0200)
(switch-to-buffer-same-frame, switch-to-buffer-other-window)
(switch-to-buffer-other-window-same-frame)
(switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
Adams (Bug#8875).

lisp/ChangeLog
lisp/window.el

index b4b726c7407b3f1b939c78999e8eb1c45ca6475d..92939d77fe4371072fc6ebedcce767e2e96957c0 100644 (file)
@@ -3,6 +3,10 @@
        * window.el (display-buffer-normalize-specifiers-1): Respect
        current value of pop-up-frames for most reasonable values of
        second argument of display-buffer (Bug#8865).
+       (switch-to-buffer-same-frame, switch-to-buffer-other-window)
+       (switch-to-buffer-other-window-same-frame)
+       (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
+       Adams (Bug#8875).
 
 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 
index 1661fedfe259c60ca47d4ec960763017094eb79f..71723818794e72f65f9f88d7a6029d23e26528c7 100644 (file)
@@ -5511,8 +5511,8 @@ functions should call `pop-to-buffer-same-window' instead."
 (defun switch-to-buffer-same-frame (buffer-or-name &optional norecord)
   "Switch to buffer BUFFER-OR-NAME in a window on the selected frame.
 Another frame will be used only if there is no other choice.
-Optional arguments BUFFER-OR-NAME and NORECORD have the same
-meaning as for `switch-to-buffer'.
+Arguments BUFFER-OR-NAME and NORECORD have the same meaning as
+for `switch-to-buffer'.
 
 This function is intended for interactive use only.  Lisp
 functions should call `pop-to-buffer-same-frame' instead."
@@ -5525,8 +5525,8 @@ functions should call `pop-to-buffer-same-frame' instead."
   "Switch to buffer BUFFER-OR-NAME in another window.
 The selected window will be used only if there is no other
 choice.  Windows on the selected frame are preferred to windows
-on other frames.  Optional arguments BUFFER-OR-NAME and NORECORD
-have the same meaning as for `switch-to-buffer'.
+on other frames.  Arguments BUFFER-OR-NAME and NORECORD have the
+same meaning as for `switch-to-buffer'.
 
 This function is intended for interactive use only.  Lisp
 functions should call `pop-to-buffer-other-window' instead."
@@ -5538,8 +5538,8 @@ functions should call `pop-to-buffer-other-window' instead."
 (defun switch-to-buffer-other-window-same-frame (buffer-or-name &optional norecord)
   "Switch to buffer BUFFER-OR-NAME in another window on the selected frame.
 The selected window or another frame will be used only if there
-is no other choice.  Optional arguments BUFFER-OR-NAME and
-NORECORD have the same meaning as for `switch-to-buffer'.
+is no other choice.  Arguments BUFFER-OR-NAME and NORECORD have
+the same meaning as for `switch-to-buffer'.
 
 This function is intended for interactive use only.  Lisp
 functions should call `pop-to-buffer-other-window-same-frame'
@@ -5552,8 +5552,8 @@ instead."
 (defun switch-to-buffer-other-frame (buffer-or-name &optional norecord)
   "Switch to buffer BUFFER-OR-NAME on another frame.
 The same frame will be used only if there is no other choice.
-Optional arguments BUFFER-OR-NAME and NORECORD have the same
-meaning as for `switch-to-buffer'.
+Arguments BUFFER-OR-NAME and NORECORD have the same meaning
+as for `switch-to-buffer'.
 
 This function is intended for interactive use only.  Lisp
 functions should call `pop-to-buffer-other-frame' instead."