From 7655d3813630f1ad2cf1eca249ea4d16f0e2a06f Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 6 Jan 2019 07:48:50 +0000 Subject: standardise and group defcustoms Signed-off-by: Sean Whitton --- org-d20.el | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'org-d20.el') 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))) -- cgit v1.2.3