From: Stefan Monnier Date: Sun, 27 May 2001 11:34:56 +0000 (+0000) Subject: (byte-compile-inline-expand): Complete Dave's X-Git-Tag: emacs-pretest-21.0.104~378 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0abfa90d846e6545b7ea72d5eb9282ebd9bd45d1;p=emacs.git (byte-compile-inline-expand): Complete Dave's patch to correct the error message as well. --- diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index 95c9e714372..86ccb7fc51c 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el @@ -269,7 +269,7 @@ (setq fn (or (and (fboundp name) (symbol-function name)) (cdr (assq name byte-compile-function-environment))))) (if (and (consp fn) (eq (car fn) 'autoload)) - (error "File `%s' didn't define `%s'" (nth 2 fn) name)) + (error "File `%s' didn't define `%s'" (nth 1 fn) name)) (if (symbolp fn) (byte-compile-inline-expand (cons fn (cdr form))) (if (byte-code-function-p fn)