Browse Source

Revert "Improve message when file to include is missing"

This reverts commit 8ad7b3888fae00ca003f8bac299da6bfbff78005.
Bastien Guerry 11 years ago
parent
commit
92c696cf8d
1 changed files with 2 additions and 4 deletions
  1. 2 4
      lisp/org.el

+ 2 - 4
lisp/org.el

@@ -5235,10 +5235,8 @@ Support for group tags is controlled by the option
   (if (or (not file)
 	  (not (file-readable-p file)))
       (if noerror
-	  (message "Cannot read file \"%s\" referenced in file \"%s\""
-		   file (buffer-file-name))
-	(error "Cannot read file \"%s\" referenced in file \"%s\""
-	       file (buffer-file-name)))
+	  (message "Cannot read file \"%s\"" file)
+	(error "Cannot read file \"%s\"" file))
     (with-temp-buffer
       (insert-file-contents file)
       (buffer-string))))