aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-08-18 21:39:09 +0530
committerArun Isaac2022-08-18 21:39:09 +0530
commit1b76db6402fc11894686e3c839296da2944e86a9 (patch)
treea3426362b1d42f333eb42d67a50477e932e9b912
parent0cb1615478427e657339aeed66fef601c20fd07c (diff)
downloadennum-1b76db6402fc11894686e3c839296da2944e86a9.tar.gz
ennum-1b76db6402fc11894686e3c839296da2944e86a9.tar.lz
ennum-1b76db6402fc11894686e3c839296da2944e86a9.zip
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.
-rw-r--r--ennum-image.el12
-rw-r--r--ennum.el4
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")