From: Henning Weiss <hdweiss@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] org-attach-store-link-p gets wrong value for attach when using customize-variable
Date: Mon, 12 Mar 2012 22:17:34 +0100 [thread overview]
Message-ID: <CAKq33udFSsBP0egVrgfjcBnou+PhKtyYaGBn0SfMicp42h0=kw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 823 bytes --]
Hi,
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)))
;;;###autoload
(defun org-attach ()
[-- Attachment #2: Type: text/html, Size: 1119 bytes --]
next reply other threads:[~2012-03-12 21:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 21:17 Henning Weiss [this message]
2012-03-14 5:42 ` [PATCH] org-attach-store-link-p gets wrong value for attach when using customize-variable David Maus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKq33udFSsBP0egVrgfjcBnou+PhKtyYaGBn0SfMicp42h0=kw@mail.gmail.com' \
--to=hdweiss@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).