From: Juanma Barranquero Date: Wed, 26 Sep 2012 14:11:18 +0000 (+0200) Subject: lisp/window.el (temp-buffer-window-setup): Fix typo in docstring. X-Git-Tag: emacs-24.2.90~244^2~80 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42019c2e0c40c467250e7d73bed446b2bb19f287;p=emacs.git lisp/window.el (temp-buffer-window-setup): Fix typo in docstring. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c2168a33398..c69f8bc870b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-09-26 Juanma Barranquero + + * window.el (temp-buffer-window-setup): Fix typo in docstring. + 2012-09-25 Wilson Snyder * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout) diff --git a/lisp/window.el b/lisp/window.el index 68f1370e9d1..b978eacc0be 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -84,7 +84,7 @@ This hook is run by `with-temp-buffer-window' with the buffer displayed and current and its window selected.") (defun temp-buffer-window-setup (buffer-or-name) - "Set up temporary buffer specified by BUFFER-OR-NAME + "Set up temporary buffer specified by BUFFER-OR-NAME. Return the buffer." (let ((old-dir default-directory) (buffer (get-buffer-create buffer-or-name))) @@ -903,7 +903,7 @@ of all windows on FRAME to nil." (if right (throw 'reset t) (setq right t))) ((eq side 'bottom) (if bottom (throw 'reset t) (setq bottom t))) - (t + (t (throw 'reset t)))) frame t)) ;; If there's a side window, there must be at least one