(byte-compile-inline-expand): Complete Dave's
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 27 May 2001 11:34:56 +0000 (11:34 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 27 May 2001 11:34:56 +0000 (11:34 +0000)
patch to correct the error message as well.

lisp/emacs-lisp/byte-opt.el

index 95c9e71..86ccb7f 100644 (file)
        (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)