summaryrefslogtreecommitdiff
path: root/lisp/gnus/score-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/score-mode.el')
-rw-r--r--lisp/gnus/score-mode.el22
1 files changed, 14 insertions, 8 deletions
diff --git a/lisp/gnus/score-mode.el b/lisp/gnus/score-mode.el
index 622e65c541e..d106cf0c271 100644
--- a/lisp/gnus/score-mode.el
+++ b/lisp/gnus/score-mode.el
@@ -28,14 +28,20 @@
(require 'mm-util) ; for mm-universal-coding-system
(require 'gnus-util) ; for gnus-pp, gnus-run-mode-hooks
-(defvar gnus-score-edit-done-hook nil
- "*Hook run at the end of closing the score buffer.")
-
-(defvar gnus-score-mode-hook nil
- "*Hook run in score mode buffers.")
-
-(defvar gnus-score-menu-hook nil
- "*Hook run after creating the score mode menu.")
+(defcustom gnus-score-edit-done-hook nil
+ "Hook run at the end of closing the score buffer."
+ :group 'gnus-score
+ :type 'hook)
+
+(defcustom gnus-score-mode-hook nil
+ "Hook run in score mode buffers."
+ :group 'gnus-score
+ :type 'hook)
+
+(defcustom gnus-score-menu-hook nil
+ "Hook run after creating the score mode menu."
+ :group 'gnus-score
+ :type 'hook)
(defvar gnus-score-edit-exit-function nil
"Function run on exit from the score buffer.")