summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-04-08 20:05:03 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-04-08 20:05:03 (GMT)
commit728c69df189106ef8480c59c7548bc392edcb6c6 (patch)
treee004b0091f689ef6d0ecc41acf9d8bc19bf4fde2
parentcd481dfba88d52c52dee7a1868518883633047b9 (diff)
downloadorg-mode-728c69df189106ef8480c59c7548bc392edcb6c6.zip
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.el7
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))))