ui/popup: correct docstring of set-popup-rule!

Predicate functions take two arguments.
This commit is contained in:
Henrik Lissner 2019-10-21 05:59:21 -04:00
parent c55e86a54b
commit b3a0fb9fc7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -58,7 +58,8 @@ variants) will not be affected by these rules (as they are unaffected by
`display-buffer-alist', which powers the popup management system).
PREDICATE can be either a) a regexp string (matched against the buffer's name)
or b) a function that takes no arguments and returns a boolean.
or b) a function that takes two arguments (a buffer name and the ACTION argument
of `display-buffer') and returns a boolean.
PLIST can be made up of any of the following properties: