Skip to content

Commit

Permalink
Fixed org-store-link-plist
Browse files Browse the repository at this point in the history
  • Loading branch information
claviclaws committed Jul 12, 2011
1 parent abe2a49 commit 12def02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions org-mac-protocol.el
Expand Up @@ -331,6 +331,7 @@ link property"
(region (or (cadddr parts) ""))
(orglink (org-make-link-string
url (if (string-match "[^[:space:]]" title) title url)))
(org-capture-link-is-already-stored t)
remember-annotation-functions)

(setq org-mac-protocol-app app)
Expand Down Expand Up @@ -362,6 +363,8 @@ link property"
:description title
:shortdesc shorttitle
:initial region)
(message "protocol: %s" (plist-get org-store-link-plist :shortdesc))

(if (boundp 'org-capture-templates)
(org-capture nil template)
(org-remember nil (string-to-char template))))
Expand Down

0 comments on commit 12def02

Please sign in to comment.