浏览代码

Check fboundp on evaluating

And not when expanding macro
pull/15/head
10sr 9 年前
父节点
当前提交
8ebfaae03d
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      emacs.el

+ 2
- 3
emacs.el 查看文件

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


正在加载...
取消
保存