summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-12-04 14:55:20 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-12-04 14:55:20 +0100
commitada2f64b168c4fea99e43233f08eca08836c66dd (patch)
tree19744c97bf4f83ce1e1ea975c2371ab91f0684c2
parent0c691737aadfe645a2bb4891e206f6340c9ed6c0 (diff)
downloadorg-mode-ada2f64b168c4fea99e43233f08eca08836c66dd.tar.gz
org-attach: Make `org-attach-directory' a safe variable
* lisp/org-attach.el (org-attach-directory): Add :safe keyword.
-rw-r--r--lisp/org-attach.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-attach.el b/lisp/org-attach.el
index ce73a03..1ce2cfb 100644
--- a/lisp/org-attach.el
+++ b/lisp/org-attach.el
@@ -54,7 +54,8 @@
If this is a relative path, it will be interpreted relative to the directory
where the Org file lives."
:group 'org-attach
- :type 'directory)
+ :type 'directory
+ :safe #'stringp)
(defcustom org-attach-commit t
"If non-nil commit attachments with git.