* lisp/subr.el (function-get): Refine `autoload' arg so it can also

autoload functions for gv.el.
* lisp/emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
autoloads macros.

Fixes: debbugs:12191
This commit is contained in:
Stefan Monnier 2012-08-13 17:23:09 -04:00
parent ca06f160f4
commit 3c98c96295
3 changed files with 13 additions and 4 deletions

View file

@ -248,7 +248,7 @@ If the result is non-nil, then break. Errors are ignored."
(progn
(and (symbolp indirect)
(setq indirect
(function-get indirect 'edebug-form-spec 'autoload))))
(function-get indirect 'edebug-form-spec 'macro))))
;; (edebug-trace "indirection: %s" edebug-form-spec)
(setq edebug-form-spec indirect))
edebug-form-spec