aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-01-06 07:48:50 +0000
committerSean Whitton <spwhitton@spwhitton.name>2019-01-06 07:49:47 +0000
commit7655d3813630f1ad2cf1eca249ea4d16f0e2a06f (patch)
treeba373789513af538611f8f41cd3a11f8169e74c9
parentd2200d8051fd0958c3e70ed72e00eca6135fa702 (diff)
downloadorg-d20-7655d3813630f1ad2cf1eca249ea4d16f0e2a06f.tar.gz
standardise and group defcustoms
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--org-d20.el20
1 files changed, 14 insertions, 6 deletions
diff --git a/org-d20.el b/org-d20.el
index ccb733d..1303219 100644
--- a/org-d20.el
+++ b/org-d20.el
@@ -49,25 +49,33 @@
(require 'dash)
(require 'org-table)
+(defgroup org-d20 nil
+ "Customisation of `org-d20-mode'."
+ :group 'org)
+
(defcustom org-d20-party nil
"Party initiative modifiers.
A list of cons cells, where the car of each cell is a character's
name, and the cdr of each cell is that character's initiative
-modifier as an integer.")
+modifier as an integer."
+ :group 'org-d20)
(defcustom org-d20-dice-sound nil
- "Path to a sound file that `play-sound-file' can play.")
+ "Path to a sound file that `play-sound-file' can play."
+ :group 'org-d20)
(defcustom org-d20-letter-monsters nil
- "Individuate up to 26 monsters/NPCs with letters.
+ "Non-nil means individuate up to 26 monsters/NPCs with letters.
-Rather than with digits.")
+Rather than with digits."
+ :group 'org-d20)
(defcustom org-d20-continue-monster-numbering nil
- "Continue the numbering/lettering of monsters between types.
+ "Non-nil means continue the numbering/lettering of monsters between types.
-Rather than starting again for each type.")
+Rather than starting again for each type."
+ :group 'org-d20)
(defvar org-d20-mode-map
(let ((map (make-sparse-keymap)))