From 0abfa90d846e6545b7ea72d5eb9282ebd9bd45d1 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 27 May 2001 11:34:56 +0000 Subject: [PATCH] (byte-compile-inline-expand): Complete Dave's patch to correct the error message as well. --- lisp/emacs-lisp/byte-opt.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2