Browse Source

Check fboundp on evaluating

And not when expanding macro
pull/15/head
10sr 8 years ago
parent
commit
8ebfaae03d
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      emacs.el

+ 2
- 3
emacs.el View File

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

(put 'autoload-eval-lazily 'lisp-indent-function 2)

(when (autoload-eval-lazily 'tetris nil


Loading…
Cancel
Save