]> git.eshelyaron.com Git - emacs.git/commitdiff
(special-display-popup-frame): New argument PARAMS.
authorRichard M. Stallman <rms@gnu.org>
Thu, 22 Sep 1994 05:03:56 +0000 (05:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 22 Sep 1994 05:03:56 +0000 (05:03 +0000)
Use it as well as `special-display-frame-alist'.

lisp/frame.el

index e61e9a4c1d7988246216ce1e48993dec33cbd51b..e19ad10a3c23b6c26ee063bbe4952ff661c3c801 100644 (file)
@@ -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)))))