[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/popper 898e04b38b 004/102: Fixed errors in defcustom op
From: |
ELPA Syncer |
Subject: |
[elpa] externals/popper 898e04b38b 004/102: Fixed errors in defcustom options |
Date: |
Fri, 8 Sep 2023 15:58:49 -0400 (EDT) |
branch: externals/popper
commit 898e04b38b0c3838a6f45daf64fcb53a36950c3c
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Fixed errors in defcustom options
---
popper.el | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/popper.el b/popper.el
index 3ef54a5f41..7c00af5883 100644
--- a/popper.el
+++ b/popper.el
@@ -85,12 +85,14 @@ Will match against the Messages buffer, any buffer ending
in Output*, and all he
Can be a quoted list or function. Setting this to NIL removes
the mode-line entirely from popper."
:group 'popper
- :type '(choice (string :tag "Literal text")
+ :type '(choice (const :tag "Off" nil)
+ (string :tag "Literal text")
(sexp :tag "General `mode-line-format' entry")))
(defcustom popper-mode-line-position 0
"Position in mode-line to place `popper-mode-line'."
- :type 'integer)
+ :type 'integer
+ :group 'popper)
(defcustom popper-display-control t
"Whether popper should control the placement of popup windows.
@@ -99,7 +101,9 @@ Choices are:
nil : Do not control popup placement.
t : Control placement of all popups."
:group 'popper
- :type '(choice 'user t nil))
+ :type '(choice (const :tag "Explicitly set popups only" 'user)
+ (const :tag "All popups" t)
+ (const :tag "Never" nil)))
(defcustom popper-display-function #'popper-select-popup-at-bottom
"Function to use to display popper.
@@ -107,9 +111,9 @@ Choices are:
Note that this is only invoked when
`popper-display-control' is non-nil.
-This function accepts two arguments, a buffer and an action alist
-and displays the buffer. See (info \"(elisp) Buffer Display
-Action Alists\") for details on the alist."
+This function accepts two arguments, a buffer and (optional) an
+action alist and displays the buffer. See (info \"(elisp) Buffer
+Display Action Alists\") for details on the alist."
:group 'popper
:type 'function)
@@ -246,9 +250,9 @@ in the list of buffers TEST-BUFFER-LIST."
(when popper-mode-line
(if (member popper-mode-line mode-line-format)
mode-line-format
- (append (cl-subseq mode-line-format 0 popper-mode-line-position)
+ (append (cl-subseq (default-value 'mode-line-format) 0
popper-mode-line-position)
(cons popper-mode-line (nthcdr popper-mode-line-position
-
mode-line-format))))))
+ (default-value
'mode-line-format)))))))
(defun popper-bury-all ()
"Bury all open popper."
- [elpa] externals/popper 4e2fe1d86a 048/102: Added video demo of buffer hiding, (continued)
- [elpa] externals/popper 4e2fe1d86a 048/102: Added video demo of buffer hiding, ELPA Syncer, 2023/09/08
- [elpa] externals/popper a3dee00e3b 056/102: Renamed some functions to be internal, as popper--*, ELPA Syncer, 2023/09/08
- [elpa] externals/popper ca7d7312fc 071/102: Hiding popups with predicate - bug fix, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 1ffc269afa 074/102: Simplify usage section of README, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 8af5e6b3bb 078/102: Don't error in popper-kill-latest-popup (#18), ELPA Syncer, 2023/09/08
- [elpa] externals/popper 9118307349 016/102: Finished integration with project.el, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 2997eb6553 012/102: No duplicate buffers in buried-buffers-alist, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 9df5b0c8d3 034/102: Typos in README, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 2be084a77c 045/102: Set a minimum window size (#9), ELPA Syncer, 2023/09/08
- [elpa] externals/popper 7761fab568 049/102: Swapped out mp4 for gif, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 898e04b38b 004/102: Fixed errors in defcustom options,
ELPA Syncer <=
- [elpa] externals/popper 4bff39358e 015/102: Removed unnecessary progn, ELPA Syncer, 2023/09/08
- [elpa] externals/popper a1f0f33566 011/102: Linting for MELPA + added License (GPL v3), ELPA Syncer, 2023/09/08
- [elpa] externals/popper 07c2c14435 005/102: Typos in README.org, ELPA Syncer, 2023/09/08
- [elpa] externals/popper b0e48719fd 008/102: Logic fix in popper.el, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 238dae1e46 025/102: Removed redundant info from documentation, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 500d1d477c 021/102: Fixed duplication bug, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 03dc41c315 019/102: More robust minor mode definition, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 1a059a5973 009/102: Reduced surface area of package, ELPA Syncer, 2023/09/08
- [elpa] externals/popper a27500408c 023/102: Enhancements, see details, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 3584603390 013/102: Setting up project awareness, ELPA Syncer, 2023/09/08