Commits

Anonymous committed 5e1c1e5

Use consistent minibuffer naming

  • Participants
  • Parent commits 359e24c

Comments (0)

Files changed (2)

File lisp/ChangeLog

+2009-08-14  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* minibuf.el (read-from-minibuffer):
+	Use buffer (format " *Minibuf-%d*" (minibuffer-depth)), regardless
+	of depth.
+
 2009-10-14  Mike Sperber  <mike@xemacs.org>
 
 	* code-files.el (insert-file-contents): Call the file-name handler

File lisp/minibuf.el

          (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)))