summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
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