From b3a0fb9fc77d774bcc45172325bc0981d3721e02 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 21 Oct 2019 05:59:21 -0400 Subject: [PATCH] ui/popup: correct docstring of set-popup-rule! Predicate functions take two arguments. --- modules/ui/popup/autoload/settings.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ui/popup/autoload/settings.el b/modules/ui/popup/autoload/settings.el index 986e13b44..2f19298b4 100644 --- a/modules/ui/popup/autoload/settings.el +++ b/modules/ui/popup/autoload/settings.el @@ -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: