diff options
author | Bastien Guerry <bzg@altern.org> | 2013-04-08 22:05:03 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-04-08 22:05:03 +0200 |
commit | 728c69df189106ef8480c59c7548bc392edcb6c6 (patch) | |
tree | e004b0091f689ef6d0ecc41acf9d8bc19bf4fde2 | |
parent | cd481dfba88d52c52dee7a1868518883633047b9 (diff) | |
download | org-mode-728c69df189106ef8480c59c7548bc392edcb6c6.tar.gz |
Revert "org.el (org-file-contents): Make the message more prominent"
This reverts commit 591d377e7855e6ee36fd9d8c78e262e9a57305df.
-rw-r--r-- | lisp/org.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/org.el b/lisp/org.el index 14ca84a..9e156c2 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5145,10 +5145,9 @@ Support for group tags is controlled by the option "Return the contents of FILE, as a string." (if (or (not file) (not (file-readable-p file))) - (if (not noerror) - (error "Cannot read file \"%s\"" file) - (message "Cannot read file \"%s\"" file) - (sit-for 3)) + (if noerror + (message "Cannot read file \"%s\"" file) + (error "Cannot read file \"%s\"" file)) (with-temp-buffer (insert-file-contents file) (buffer-string)))) |