1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-27 20:22:00 +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."
(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))))