From: Martin Rudalics Date: Sat, 8 Oct 2011 14:01:55 +0000 (+0200) Subject: Fix doc-string typo in switch-to-buffer. X-Git-Tag: emacs-pretest-24.0.91~180 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=235ce86fea5c1b5c024da7e05a2f50aa7f22a992;p=emacs.git Fix doc-string typo in switch-to-buffer. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7bd71260763..076749197e0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,7 @@ * window.el (window--delete): Delete dedicated frame unconditionally when argument KILL is non-nil. (Bug#9699) + (switch-to-buffer): Fix doc-string typo. 2011-10-08 Thierry Volpiatto diff --git a/lisp/window.el b/lisp/window.el index 72b14e1852e..79629c9c285 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -4977,7 +4977,7 @@ one. If FORCE-SAME-WINDOW is non-nil, BUFFER-OR-NAME must be displayed in the selected window; signal an error if that is impossible (e.g. if the selected window is minibuffer-only). If -non-nil, BUFFER-OR-NAME may be displayed in another window. +nil, BUFFER-OR-NAME may be displayed in another window. Return the buffer switched to." (interactive