From 5aeb5232edde1af1424952835dac2df15e596bd8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 24 Sep 2017 21:01:11 +0200 Subject: [PATCH] Make doom-popup-{buffer,file} plist optional --- core/autoload/popups.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/autoload/popups.el b/core/autoload/popups.el index 0256c47f9..53a47f62e 100644 --- a/core/autoload/popups.el +++ b/core/autoload/popups.el @@ -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)