[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Don't push url to kill-ring when invoking org-protocol-captu
From: |
Matt Lundin |
Subject: |
[O] [PATCH] Don't push url to kill-ring when invoking org-protocol-capture |
Date: |
Mon, 17 Apr 2017 21:08:44 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
From: Matt Lundin <address@hidden>
To: Org Mode <address@hidden>
Date: Mon, 17 Apr 2017 20:58:30 -0500
Subject: [PATCH] Don't push url to kill-ring when invoking
org-protocol-capture
--text follows this line--
* 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.
---
lisp/org-protocol.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
index a59540a30..825435674 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
--
2.12.2
- [O] [PATCH] Don't push url to kill-ring when invoking org-protocol-capture,
Matt Lundin <=