Fix with-popup-rules! macro

Mistreating its RULES argument, causing void-function errors.
This commit is contained in:
Henrik Lissner 2018-06-22 19:17:15 +02:00
parent 25bc9cfbaf
commit 0bea00c183
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -103,7 +103,7 @@ should match the arguments of `+popup-define' or the :popup setting."
(declare (indent defun))
`(let ((+popup--display-buffer-alist +popup--old-display-buffer-alist)
display-buffer-alist)
(set-popup-rules! ,@rules)
(set-popup-rules! ,rules)
(when (bound-and-true-p +popup-mode)
(setq display-buffer-alist +popup--display-buffer-alist))
,@body))