summaryrefslogtreecommitdiff
path: root/lisp/expand.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/expand.el')
-rw-r--r--lisp/expand.el26
1 files changed, 18 insertions, 8 deletions
diff --git a/lisp/expand.el b/lisp/expand.el
index 51a12139897..3741a1496e4 100644
--- a/lisp/expand.el
+++ b/lisp/expand.el
@@ -74,14 +74,24 @@
;;; Constants:
-(defvar expand-load-hook nil
- "Hooks run when `expand.el' is loaded.")
-
-(defvar expand-expand-hook nil
- "Hooks run when an abbrev made by `expand-add-abbrevs' is expanded.")
-
-(defvar expand-jump-hook nil
- "Hooks run by `expand-jump-to-previous-slot' and `expand-jump-to-next-slot'.")
+(defgroup expand nil
+ "Make abbreviations more usable."
+ :group 'abbrev)
+
+(defcustom expand-load-hook nil
+ "Hooks run when `expand.el' is loaded."
+ :type 'hook
+ :group 'expand)
+
+(defcustom expand-expand-hook nil
+ "Hooks run when an abbrev made by `expand-add-abbrevs' is expanded."
+ :type 'hook
+ :group 'expand)
+
+(defcustom expand-jump-hook nil
+ "Hooks run by `expand-jump-to-previous-slot' and `expand-jump-to-next-slot'."
+ :type 'hook
+ :group 'expand)
;;; Samples: