Make doom-popup-{buffer,file} plist optional

This commit is contained in:
Henrik Lissner 2017-09-24 21:01:11 +02:00
parent eb8e23f44e
commit 5aeb5232ed
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -15,7 +15,7 @@ omitted."
(not (doom-popup-property :fixed target)))))))
;;;###autoload
(defun doom-popup-buffer (buffer plist &optional extend-p)
(defun doom-popup-buffer (buffer &optional plist extend-p)
"Display BUFFER in a shackle popup with PLIST rules. See `shackle-rules' for
possible rules. If EXTEND-P is non-nil, don't overwrite the original rules for
this popup, just the specified properties. Returns the new popup window."
@ -43,7 +43,7 @@ this popup, just the specified properties. Returns the new popup window."
(set-window-dedicated-p nil t)))
;;;###autoload
(defun doom-popup-file (file plist &optional extend-p)
(defun doom-popup-file (file &optional plist extend-p)
"Display FILE in a shackle popup, with PLIST rules. See `shackle-rules' for
possible rules."
(unless (file-exists-p file)