Explorar el Código

show message on autoload defined

pull/1/head
10sr hace 13 años
padre
commit
5fa25097db
Se han modificado 1 ficheros con 6 adiciones y 2 borrados
  1. +6
    -2
      emacs.el

+ 6
- 2
emacs.el Ver fichero

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


Cargando…
Cancelar
Guardar