Explorar o código

Slightly better message when require fails.

Carsten Dominik %!s(int64=17) %!d(string=hai) anos
pai
achega
f119c04eeb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      org.el

+ 1 - 1
org.el

@@ -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...