From 4bef911093051ec6dfca2e1415e42baee60f8e37 Mon Sep 17 00:00:00 2001 From: Stephen Eglen Date: Sat, 7 Mar 1998 18:19:38 +0000 Subject: Customized. --- lisp/tempo.el | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'lisp/tempo.el') diff --git a/lisp/tempo.el b/lisp/tempo.el index 6ee10096afc..5434a5f3317 100644 --- a/lisp/tempo.el +++ b/lisp/tempo.el @@ -111,26 +111,39 @@ ;;; User options -(defvar tempo-interactive nil +(defgroup tempo nil + "Flexible template insertion." + :prefix "tempo-" + :group 'tools) + +(defcustom tempo-interactive nil "*Prompt user for strings in templates. If this variable is non-nil, `tempo-insert' prompts the -user for text to insert in the templates") +user for text to insert in the templates" + :type 'boolean + :group 'tempo) -(defvar tempo-insert-region nil +(defcustom tempo-insert-region nil "*Automatically insert current region when there is a `r' in the template If this variable is NIL, `r' elements will be treated just like `p' elements, unless the template function is given a prefix (or a non-nil argument). If this variable is non-NIL, the behaviour is reversed. -In Transient Mark mode, this option is unused.") +In Transient Mark mode, this option is unused." + :type 'boolean + :group 'tempo) -(defvar tempo-show-completion-buffer t +(defcustom tempo-show-completion-buffer t "*If non-NIL, show a buffer with possible completions, when only -a partial completion can be found") +a partial completion can be found" + :type 'boolean + :group 'tempo) -(defvar tempo-leave-completion-buffer nil +(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.") +disappears at the next keypress; otherwise, it remains forever." + :type 'boolean + :group 'tempo) ;;; Internal variables -- cgit v1.2.1