소스 검색

org-attach: Make `org-attach-directory' a safe variable

* lisp/org-attach.el (org-attach-directory): Add :safe keyword.
Nicolas Goaziou 8 년 전
부모
커밋
ada2f64b16
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      lisp/org-attach.el

+ 2 - 1
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.