emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/popper 031e4d093c 102/102: popper: Update defcustom for


From: ELPA Syncer
Subject: [elpa] externals/popper 031e4d093c 102/102: popper: Update defcustom for popper-reference-buffers
Date: Fri, 8 Sep 2023 15:58:57 -0400 (EDT)

branch: externals/popper
commit 031e4d093c1e52337a3ca137740933a185f3d61d
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>

    popper: Update defcustom for popper-reference-buffers
    
    * popper.el (popper-reference-buffers): Should now accept all valid
    customization types.  Also improve the documentation for this option.
---
 popper.el | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/popper.el b/popper.el
index 5219e0a863..3c6f2fca67 100644
--- a/popper.el
+++ b/popper.el
@@ -115,9 +115,19 @@ Output*, and all help and compilation buffers.
 
 will match against the Messages buffer, all help buffers and any
 buffer with major-mode derived from fundamental mode that has
-fewer than 10 lines at time of creation."
-  :type '(restricted-sexp :match-alternatives (stringp symbolp functionp 
consp))
-  :group 'popper)
+fewer than 10 lines at time of creation.
+
+It can also be a cons cell whose car is any of the above and
+whose cdr is the symbol `hide', in which case matching popup
+buffers will be suppressed when they are first created."
+  :type '(repeat
+          (choice (string :tag "Buffer name regexp")
+                 (symbol :tag "Major mode")
+                 (function :tag "Predicate Function")
+                  (cons (choice (regexp :tag "Buffer name regexp")
+                                (symbol :tag "Major mode")
+                                (function :tag "Predicate function"))
+                        (const :tag "Hide" hide)))))
 
 (defcustom popper-mode-line '(:eval (propertize " POP" 'face 
'mode-line-emphasis))
   "String or sexp to show in the mode-line of popper.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]