summaryrefslogtreecommitdiff
path: root/lisp/tempo.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-09-08 19:15:11 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2023-09-08 19:15:11 -0400
commit89212026588ba03147f98c2a6c0fca8a94682f76 (patch)
treee92c9760797c3947b1db59968e25c17e1cb66807 /lisp/tempo.el
parenta2f977d94e0356c7414876e988adedd2ab7b52f2 (diff)
downloademacs-89212026588ba03147f98c2a6c0fca8a94682f76.tar.gz
* lisp/tempo.el: Remove redundant `:group`s and use #'
Diffstat (limited to 'lisp/tempo.el')
-rw-r--r--lisp/tempo.el16
1 files changed, 6 insertions, 10 deletions
diff --git a/lisp/tempo.el b/lisp/tempo.el
index b59342b2c9d..762a9c5433f 100644
--- a/lisp/tempo.el
+++ b/lisp/tempo.el
@@ -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,