summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Lundin <mdl@imapmail.org>2017-04-17 20:58:30 -0500
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-04-18 08:26:42 +0200
commit8f4989d00d7d29aad7a9c5f036034bb4836ca243 (patch)
tree0409a7124d04496e01a9d9b3cdc26564cac2c7fa
parent68f60dbdd54eff36efcc1cd6232b03617c57c96f (diff)
downloadorg-mode-8f4989d00d7d29aad7a9c5f036034bb4836ca243.tar.gz
org-protocol: Don't push url to kill-ring
* lisp/org-protocol.el: (org-protocol-do-capture) Don't push link to kill-ring when invoking `org-protocol-capture'. Otherwise, `org-protocol-do-capture' interferes with capture templates that insert the contents of the clipboard or the kill ring.
-rw-r--r--lisp/org-protocol.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
index a59540a..8254356 100644
--- a/lisp/org-protocol.el
+++ b/lisp/org-protocol.el
@@ -498,7 +498,6 @@ Now template ?b will be used."
(org-capture-link-is-already-stored t)) ;; avoid call to org-store-link
(setq org-stored-links
(cons (list url title) org-stored-links))
- (kill-new orglink)
(org-store-link-props :type type
:link url
:description title