diff options
author | Robert P. Goldman <rpgoldman@real-time.com> | 2011-05-05 19:51:25 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-05-05 19:53:20 -0600 |
commit | a173acf275608695d0ddc6441b6cac04aa29f6bf (patch) | |
tree | 6c4af389b54de628f5888732f75c76ddfc71d4ad | |
parent | b45bef8ffab5fb4aba6f3a6ff803260a75e40c3b (diff) | |
download | org-mode-a173acf275608695d0ddc6441b6cac04aa29f6bf.tar.gz |
Don't prompt for bad links during babel export
* lisp/ob-exp.el (org-babel-exp-in-export-file): Bind
`org-link-search-inhibit-query' to t to inhibit prompts.
-rw-r--r-- | lisp/ob-exp.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el index 20a7cda..d700f6d 100644 --- a/lisp/ob-exp.el +++ b/lisp/ob-exp.el @@ -93,7 +93,8 @@ source block function.") (set-buffer (get-file-buffer org-current-export-file)) (save-restriction (condition-case nil - (org-open-link-from-string link) + (let ((org-link-search-inhibit-query t)) + (org-open-link-from-string link)) (error (when heading (goto-char (point-min)) (re-search-forward (regexp-quote heading) nil t)))) |