* lisp/tempo.el: Remove redundant `:group`s and use #'
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Sep 2023 23:15:11 +0000 (19:15 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Sep 2023 23:15:11 +0000 (19:15 -0400)
lisp/tempo.el

index b59342b2c9db467307dbca3729a1fcde45c86b1e..762a9c5433fa4a2a42424fafbebaadf309c9ab4e 100644 (file)
   "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,