|
@@ -59,8 +59,8 @@ found, otherwise returns nil." |
|
|
`(progn |
|
|
`(progn |
|
|
(when (locate-library ,libname) |
|
|
(when (locate-library ,libname) |
|
|
,@(mapcar (lambda (f) |
|
|
,@(mapcar (lambda (f) |
|
|
(unless (fboundp f) |
|
|
|
|
|
`(progn |
|
|
|
|
|
|
|
|
`(unless (fboundp ',f) |
|
|
|
|
|
(progn |
|
|
(message "Autoloaded function `%S' defined (%s)" |
|
|
(message "Autoloaded function `%S' defined (%s)" |
|
|
(quote ,f) |
|
|
(quote ,f) |
|
|
,libpath) |
|
|
,libpath) |
|
@@ -76,7 +76,6 @@ found, otherwise returns nil." |
|
|
(quote (progn |
|
|
(quote (progn |
|
|
,@body))) |
|
|
,@body))) |
|
|
(locate-library ,libname)))) |
|
|
(locate-library ,libname)))) |
|
|
|
|
|
|
|
|
(put 'autoload-eval-lazily 'lisp-indent-function 2) |
|
|
(put 'autoload-eval-lazily 'lisp-indent-function 2) |
|
|
|
|
|
|
|
|
(when (autoload-eval-lazily 'tetris nil |
|
|
(when (autoload-eval-lazily 'tetris nil |
|
|