Browse Source

ob-tangle: don't call `org-store-link' interactively when tangling

* lisp/ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
  `org-store-link' interactively as it can confuse the setting of
  `org-link-to-org-use-id' and cause undue edits to the org-mode
  buffer during tangling.
Eric Schulte 10 years ago
parent
commit
814012ca80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-tangle.el

+ 1 - 1
lisp/ob-tangle.el

@@ -295,7 +295,7 @@ code blocks by language."
           (unless (and language (not (string= language src-lang)))
 	    (let* ((info (org-babel-get-src-block-info))
 		   (params (nth 2 info))
-		   (link (progn (call-interactively 'org-store-link)
+		   (link (progn (org-store-link nil)
 				(org-babel-clean-text-properties
 				 (car (pop org-stored-links)))))
 		   (source-name