From: Karl Heuer Date: Thu, 4 Jun 1998 06:11:30 +0000 (+0000) Subject: (byte-compile-lambda): Fix previous change. X-Git-Tag: emacs-20.3~728 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b9edcafb519bac258c0f3b269fa5163fd861c6ad;p=emacs.git (byte-compile-lambda): Fix previous change. --- diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 4ad85fe76e4..eec97331f67 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -9,7 +9,7 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.44 $") +(defconst byte-compile-version "$Revision: 2.45 $") ;; This file is part of GNU Emacs. @@ -2040,7 +2040,7 @@ If FORM is a lambda or a macro, byte-compile it as a function." (prog1 (car body) ;; Discard the doc string ;; unless it is the last element of the body. - (if (nthcdr 2 body) + (if (cdr body) (setq body (cdr body)))))) (int (assq 'interactive body))) (cond (int