Forráskód Böngészése

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.
Matt Lundin 8 éve
szülő
commit
8f4989d00d
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      lisp/org-protocol.el

+ 0 - 1
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