summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1998-06-04 06:11:30 +0000
committerKarl Heuer <kwzh@gnu.org>1998-06-04 06:11:30 +0000
commitb9edcafb519bac258c0f3b269fa5163fd861c6ad (patch)
tree5a9ea8eb1460532a7dee68b22818de6fdfc78adb /lisp/emacs-lisp/bytecomp.el
parent3270ae6e9b7e47883cbe20cc3541ccc3a0546982 (diff)
downloademacs-b9edcafb519bac258c0f3b269fa5163fd861c6ad.tar.gz
emacs-b9edcafb519bac258c0f3b269fa5163fd861c6ad.tar.bz2
emacs-b9edcafb519bac258c0f3b269fa5163fd861c6ad.zip
(byte-compile-lambda): Fix previous change.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el4
1 files 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