소스 검색

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 14 년 전
부모
커밋
814012ca80
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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