From 235ce86fea5c1b5c024da7e05a2f50aa7f22a992 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Sat, 8 Oct 2011 16:01:55 +0200 Subject: [PATCH] Fix doc-string typo in switch-to-buffer. --- lisp/ChangeLog | 1 + lisp/window.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2