changeset 37908:ba28e6b7a67b

(byte-compile-inline-expand): Complete Dave's patch to correct the error message as well.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 27 May 2001 11:34:56 +0000
parents a8fffaec8725
children 3d650ae7e609
files lisp/emacs-lisp/byte-opt.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/byte-opt.el	Sun May 27 11:12:13 2001 +0000
+++ b/lisp/emacs-lisp/byte-opt.el	Sun May 27 11:34:56 2001 +0000
@@ -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)