0
0
Fork 1
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:
Matt Lundin 2017-04-17 20:58:30 -05:00 committed by Nicolas Goaziou
parent 68f60dbdd5
commit 8f4989d00d

View file

@ -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