* lisp/tempo.el: Remove redundant :groups and use #'

This commit is contained in:
Stefan Monnier 2023-09-08 19:15:11 -04:00
parent a2f977d94e
commit 8921202658

View file

@ -116,8 +116,7 @@
"Prompt user for strings in templates.
If this variable is non-nil, `tempo-insert' prompts the
user for text to insert in the templates."
:type 'boolean
:group 'tempo)
:type 'boolean)
(defcustom tempo-insert-region nil
"Automatically insert current region when there is a `r' in the template
@ -126,20 +125,17 @@ elements, unless the template function is given a prefix (or a non-nil
argument). If this variable is non-nil, the behavior is reversed.
In Transient Mark mode, this option is unused."
:type 'boolean
:group 'tempo)
:type 'boolean)
(defcustom tempo-show-completion-buffer t
"If non-nil, show a buffer with possible completions, when only
a partial completion can be found."
:type 'boolean
:group 'tempo)
:type 'boolean)
(defcustom tempo-leave-completion-buffer nil
"If nil, a completion buffer generated by \\[tempo-complete-tag]
disappears at the next keypress; otherwise, it remains forever."
:type 'boolean
:group 'tempo)
:type 'boolean)
;;; Internal variables
@ -400,7 +396,7 @@ possible."
PROMPT can be either a prompt string, or a list of arguments to
`tempo-insert-prompt', or nil."
(if (consp prompt) ; not nil either
(apply 'tempo-insert-prompt prompt)
(apply #'tempo-insert-prompt prompt)
(tempo-insert-prompt prompt)))
(defun tempo-insert-prompt (prompt &optional save-name no-insert)
@ -636,7 +632,7 @@ If `tempo-dirty-collection' is nil, the old collection is reused."
(or (and (not tempo-dirty-collection)
tempo-collection)
(setq tempo-collection
(apply (function append)
(apply #'append
(mapcar (lambda (tag-list)
; If the format for
; tempo-local-tags changes,