changeset 4675:9a1a59b4b75d

Correct an ancient typo workaround, thank you Julian Bradfield! lisp/ChangeLog addition: 2009-08-14 Aidan Kehoe <kehoea@parhasard.net> * minibuf.el (read-from-minibuffer): Use buffer (format " *Minibuf-%d*" (minibuffer-depth)), regardless of depth.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 14 Aug 2009 19:14:51 +0100
parents e95ddfd6a409
children e3feb329bda9
files lisp/ChangeLog lisp/minibuf.el
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Aug 03 10:30:47 2009 +0200
+++ b/lisp/ChangeLog	Fri Aug 14 19:14:51 2009 +0100
@@ -1,3 +1,9 @@
+2009-08-14  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* minibuf.el (read-from-minibuffer): 
+	Use buffer (format " *Minibuf-%d*" (minibuffer-depth)), regardless
+	of depth. 
+
 2009-08-10  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* help.el (function-arglist, function-documentation): 
--- a/lisp/minibuf.el	Mon Aug 03 10:30:47 2009 +0200
+++ b/lisp/minibuf.el	Fri Aug 14 19:14:51 2009 +0100
@@ -405,10 +405,8 @@
          (owindow (selected-window))
 	 (oframe (selected-frame))
          (window (minibuffer-window))
-         (buffer (if (eq (minibuffer-depth) 0)
-                     (window-buffer window)
-		   (get-buffer-create (format " *Minibuf-%d"
-					      (minibuffer-depth)))))
+         (buffer (get-buffer-create (format " *Minibuf-%d*"
+					    (minibuffer-depth))))
          (frame (window-frame window))
          (mconfig (if (eq frame (selected-frame))
                       nil (current-window-configuration frame)))