From 1b76db6402fc11894686e3c839296da2944e86a9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 18 Aug 2022 21:39:09 +0530 Subject: Create customization group. * ennum.el (ennum): New customization group. * ennum-image.el (ennum-image-convert-path, ennum-image-identify-path, ennum-image-jpegtran-path, ennum-image-optipng-path): Add to ennum customization group. --- ennum-image.el | 12 ++++++++---- ennum.el | 4 ++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ennum-image.el b/ennum-image.el index 21ab205..924ec7e 100644 --- a/ennum-image.el +++ b/ennum-image.el @@ -6,22 +6,26 @@ (defcustom ennum-image-convert-path "convert" "Path to imagemagick convert executable." - :type 'string) + :type 'string + :group 'ennum) (defcustom ennum-image-identify-path "identify" "Path to imagemagick identify executable." - :type 'string) + :type 'string + :group 'ennum) (defcustom ennum-image-jpegtran-path "jpegtran" "Path to jpegtran executable." - :type 'string) + :type 'string + :group 'ennum) (defcustom ennum-image-optipng-path "optipng" "Path to optipng executable." - :type 'string) + :type 'string + :group 'ennum) ;; Check if all necessary image types are supported (seq-do (lambda (image-type) diff --git a/ennum.el b/ennum.el index 06c1060..8a8a8e2 100644 --- a/ennum.el +++ b/ennum.el @@ -9,6 +9,10 @@ (require 'memoize) (require 'simple-httpd) +(defgroup ennum nil + "Org-mode static blog generator." + :group 'applications) + (defvar ennum-version "0.1.0" "Ennum version string") -- cgit v1.2.3