mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 18:36:26 +00:00
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.
This commit is contained in:
parent
68f60dbdd5
commit
8f4989d00d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue