From 8ebfaae03df498d2b2d20cd0fddb79da0ab3b569 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 31 Dec 2015 17:15:01 +0900 Subject: [PATCH] Check fboundp on evaluating And not when expanding macro --- emacs.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/emacs.el b/emacs.el index ad1df1c..41892dd 100644 --- a/emacs.el +++ b/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