summaryrefslogtreecommitdiff
path: root/alot/defaults
diff options
context:
space:
mode:
authorJulian Mehne <julian.mehne@posteo.de>2018-01-21 16:59:39 +0100
committerJulian Mehne <julian.mehne@posteo.de>2018-01-21 20:10:09 +0100
commitb9cbd26cbff48aa1a70a857210382a84503f60e2 (patch)
tree3ef57db8908e7cdde50de703f2c4c01b4ae81569 /alot/defaults
parentd94d786b296d0f746e0442d9c3483673dec2e38b (diff)
Fix `:compose --template=foo` if default template_dir is used.
Fixes the following bug: To reproduce:: - Don't define `template_dir` in the user configuration file, such that the default value is used. - Run: :compose --template=foobar Problem: Displays error: `no template directory: $XDG_CONFIG_HOME/alot/templates`
Diffstat (limited to 'alot/defaults')
-rw-r--r--alot/defaults/alot.rc.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec
index 06c64620..e13c93d1 100644
--- a/alot/defaults/alot.rc.spec
+++ b/alot/defaults/alot.rc.spec
@@ -31,7 +31,7 @@ tabwidth = integer(default=8)
# templates directory that contains your message templates.
# It will be used if you give `compose --template` a filename without a path prefix.
-template_dir = string(default='$XDG_CONFIG_HOME/alot/templates')
+template_dir = string(default=None)
# directory containing theme files
themes_dir = string(default=None)