Slightly better message when require fails.

This commit is contained in:
Carsten Dominik 2008-03-03 11:59:16 +01:00
parent 84ac2ccab5
commit f119c04eeb
1 changed files with 1 additions and 1 deletions

2
org.el
View File

@ -175,7 +175,7 @@ will be autoloaded when needed, preloading is not necessary."
"Load all extensions listed in `org-default-extensions'."
(mapc (lambda (ext)
(condition-case nil (require ext)
(error (message "Feature `%s' is not known" ext))))
(error (message "Problems while trying to load feature `%s'" ext))))
org-default-extensions))
;; FIXME: Needs a separate group...