From b9edcafb519bac258c0f3b269fa5163fd861c6ad Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 4 Jun 1998 06:11:30 +0000 Subject: [PATCH] (byte-compile-lambda): Fix previous change. --- lisp/emacs-lisp/bytecomp.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2