From 728c69df189106ef8480c59c7548bc392edcb6c6 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 8 Apr 2013 22:05:03 +0200 Subject: [PATCH] Revert "org.el (org-file-contents): Make the message more prominent" This reverts commit 591d377e7855e6ee36fd9d8c78e262e9a57305df. --- lisp/org.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 14ca84aee..9e156c20a 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)))) -- 2.11.4.GIT