From 42019c2e0c40c467250e7d73bed446b2bb19f287 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 26 Sep 2012 16:11:18 +0200 Subject: [PATCH] lisp/window.el (temp-buffer-window-setup): Fix typo in docstring. --- lisp/ChangeLog | 4 ++++ lisp/window.el | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.2