diff options
author | Vitalie Spinu <spinuvit@gmail.com> | 2013-06-07 12:43:55 +0200 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2013-06-07 07:23:16 -0600 |
commit | 6043de578f43d409a0faec798d8539cf9a12df9e (patch) | |
tree | 13716569b7d3246b587c58fa02a0f1625eee6e57 | |
parent | f16b53900b59360604b0fff547d935bd99c6e19a (diff) | |
download | org-mode-6043de578f43d409a0faec798d8539cf9a12df9e.tar.gz |
avoid file warnings in org-babel-post-tangle-hook
* lisp/ob-tangle.el (org-babel-find-file-noselect-refresh): call
find-file-noselect with 'nowarn argument to surpress yes-or-no-p
reversion message.
-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 95d518a..82f2c10 100644 --- a/lisp/ob-tangle.el +++ b/lisp/ob-tangle.el @@ -114,7 +114,7 @@ result. The default value is `org-babel-trim'." (defun org-babel-find-file-noselect-refresh (file) "Find file ensuring that the latest changes on disk are represented in the file." - (find-file-noselect file) + (find-file-noselect file 'nowarn) (with-current-buffer (get-file-buffer file) (revert-buffer t t t))) |