[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] org-attach-store-link-p gets wrong value for attach when usi

From: Henning Weiss
Subject: [O] [PATCH] org-attach-store-link-p gets wrong value for attach when using customize-variable
Date: Mon, 12 Mar 2012 22:17:34 +0100


I have attached a very small patch fixing the value that org-attach-store-link-p gets through the customize interface. The additional quote prevented org-attach-attach from calling org-attach-store-link when org-attach-store-link-p was configured to "Link to the attach-dir location".

best regards,
Henning Weiss

diff --git a/lisp/org-attach.el b/lisp/org-attach.el
index 1816a07..7ba3d72 100644
--- a/lisp/org-attach.el
+++ b/lisp/org-attach.el
@@ -105,7 +105,7 @@ ln    create a hard link.  Note that this is not supported
   :type '(choice
          (const :tag "Don't store link" nil)
          (const :tag "Link to origin location" t)
-         (const :tag "Link to the attach-dir location" 'attached)))
+         (const :tag "Link to the attach-dir location" attached)))
 (defun org-attach ()

reply via email to

[Prev in Thread] Current Thread [Next in Thread]