diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2011-03-16 07:45:27 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-03-16 07:45:27 -0600 |
commit | 814012ca80decb126731f18013c9f92e721c06df (patch) | |
tree | 4bda0295073bacb36afbbd6938f535d20ff931f6 | |
parent | f4387417c41c7a500d92e70eec3f74f11b2d52cc (diff) | |
download | org-mode-814012ca80decb126731f18013c9f92e721c06df.tar.gz |
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.
-rw-r--r-- | lisp/ob-tangle.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el index f2a5397..afbef81 100644 --- a/lisp/ob-tangle.el +++ b/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 |