1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-29 07:58:21 +00:00

Revert "org.el (org-file-contents): Make the message more prominent"

This reverts commit 591d377e78.
This commit is contained in:
Bastien Guerry 2013-04-08 22:05:03 +02:00
parent cd481dfba8
commit 728c69df18

View File

@ -5145,10 +5145,9 @@ Support for group tags is controlled by the option
"Return the contents of FILE, as a string." "Return the contents of FILE, as a string."
(if (or (not file) (if (or (not file)
(not (file-readable-p file))) (not (file-readable-p file)))
(if (not noerror) (if noerror
(error "Cannot read file \"%s\"" file) (message "Cannot read file \"%s\"" file)
(message "Cannot read file \"%s\"" file) (error "Cannot read file \"%s\"" file))
(sit-for 3))
(with-temp-buffer (with-temp-buffer
(insert-file-contents file) (insert-file-contents file)
(buffer-string)))) (buffer-string))))