From: Leo Liu Date: Fri, 10 Oct 2014 12:39:49 +0000 (+0800) Subject: * lisp/window.el (temp-buffer-window-show): Make BUFFER a required arg. X-Git-Tag: emacs-25.0.90~2635^2~679^2~86 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5f949f7b4aa5b69e16ea966c4c24ed2d0c439e7;p=emacs.git * lisp/window.el (temp-buffer-window-show): Make BUFFER a required arg. Fixes: debbugs:18656 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4048f759ae6..3a30a87b595 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-10-10 Leo Liu + + * window.el (temp-buffer-window-show): Make BUFFER a required arg. + (Bug#18656) + 2014-10-10 Stefan Monnier * select.el (gui-selection-exists-p-alist): New method. diff --git a/lisp/window.el b/lisp/window.el index 472901b62b9..91a0e159a84 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -108,7 +108,7 @@ Return the buffer." ;; Return the buffer. buffer))) -(defun temp-buffer-window-show (&optional buffer action) +(defun temp-buffer-window-show (buffer &optional action) "Show temporary buffer BUFFER in a window. Return the window showing BUFFER. Pass ACTION as action argument to `display-buffer'."