From: Richard M. Stallman Date: Thu, 22 Sep 1994 05:03:56 +0000 (+0000) Subject: (special-display-popup-frame): New argument PARAMS. X-Git-Tag: emacs-19.34~6864 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42354c891c40ab141dbd1abe2c6bb1d3eb40f9b8;p=emacs.git (special-display-popup-frame): New argument PARAMS. Use it as well as `special-display-frame-alist'. --- diff --git a/lisp/frame.el b/lisp/frame.el index e61e9a4c1d7..e19ad10a3c2 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -84,7 +84,7 @@ These supersede the values given in `default-frame-alist'.") ;; Display BUFFER in its own frame, reusing an existing window if any. ;; Return the window chosen. ;; Currently we do not insist on selecting the window within its frame. -(defun special-display-popup-frame (buffer) +(defun special-display-popup-frame (buffer &optional params) (let ((window (get-buffer-window buffer t))) (if window ;; If we have a window already, make it visible. @@ -93,7 +93,7 @@ These supersede the values given in `default-frame-alist'.") (raise-frame frame) window) ;; If no window yet, make one in a new frame. - (let ((frame (make-frame special-display-frame-alist))) + (let ((frame (make-frame (append params special-display-frame-alist)))) (set-window-buffer (frame-selected-window frame) buffer) (set-window-dedicated-p (frame-selected-window frame) t) (frame-selected-window frame)))))