Browse Source

show message on autoload defined

pull/1/head
10sr 12 years ago
parent
commit
5fa25097db
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      emacs.el

+ 6
- 2
emacs.el View File

@@ -104,13 +104,17 @@ found, otherwise returns nil."
(and libpath
`(progn
,@(mapcar (lambda (f)
(or (fboundp f)
(unless (fboundp f)
(progn
(message "Autoloaded function `%S' defined (%s)"
f
libpath)
`(autoload (quote ,f)
,libname
,(concat "Autoloaded function defined in \""
libpath
"\".")
t)))
t))))
(or (eval functions)
`(,(eval feature))))
(eval-after-load ,feature


Loading…
Cancel
Save