"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
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
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)
(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,