diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-02 07:13:42 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-05 02:59:45 +0100 |
commit | 980911c5cc67874c96b112f8da8afbef49d7e71d (patch) | |
tree | 07cf19125da752f93f0ea535d03009eee2706c56 /Doom/.doom.d/modules/private | |
parent | 2db13f5d3d87d19d01273457659357c4789f7a2e (diff) | |
download | dotfiles-980911c5cc67874c96b112f8da8afbef49d7e71d.tar.gz dotfiles-980911c5cc67874c96b112f8da8afbef49d7e71d.tar.bz2 dotfiles-980911c5cc67874c96b112f8da8afbef49d7e71d.zip |
~setq -> defvar: custom variables in gentemplate
defvar allows me to add some documentation on what they are and how to
use them, always nice.
Diffstat (limited to 'Doom/.doom.d/modules/private')
-rw-r--r-- | Doom/.doom.d/modules/private/gentemplate/config.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Doom/.doom.d/modules/private/gentemplate/config.el b/Doom/.doom.d/modules/private/gentemplate/config.el index 5f00084..20ab4ca 100644 --- a/Doom/.doom.d/modules/private/gentemplate/config.el +++ b/Doom/.doom.d/modules/private/gentemplate/config.el @@ -2,8 +2,13 @@ (require 'cl) -(setq +gentemplate/template-list (list "CTemplate" "CPPTemplate" "PythonTemplate" "NodeTemplate" "ArduinoTemplate" "JavaTemplate")) -(setq +gentemplate/profile-url "https://github.com/oreodave/") +(defvar +gentemplate/profile-url + "https://github.com/oreodave/" + "Profile to download templates from on github.") + +(defvar +gentemplate/template-list + (list "CTemplate" "CPPTemplate" "PythonTemplate" "NodeTemplate" "ArduinoTemplate" "JavaTemplate") + "List of templates to use, relative to the profile-url") (defun +gentemplate/offline () (eq (list-length (network-interface-list)) 1)) |