commit 40c8a1db186a4ec79d87805018237234c0aad878
parent 8e12cf05a2f529e4859d73dd956a33e7fba8d7ea
Author: Oleh Krehel <ohwoeowho@gmail.com>
Date: Mon, 1 Jun 2020 11:44:48 +0200
org-download.el (org-download-heading-lvl): Fix :type
Fixes #74
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/org-download.el b/org-download.el
@@ -98,7 +98,8 @@ See `org-download--dir-1' for more info."
(defcustom org-download-heading-lvl 0
"Heading level to be used in `org-download--dir-2'."
- :type 'integer)
+ :type
+ '(choice integer (const :tag "None" nil)))
(make-variable-buffer-local 'org-download-heading-lvl)
(defvar org-download-path-last-file nil