summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-10-12 21:59:38 +0000
committerGerd Moellmann <gerd@gnu.org>2001-10-12 21:59:38 +0000
commite34fd2f2c0b3730d521e99ae3bdf795c480376c4 (patch)
treefea5e264351b2b6584a279cf1066559126a796c4 /lisp/emacs-lisp
parent19d4e9a77301642cf131d10ffce88f4ea5c37d78 (diff)
downloademacs-e34fd2f2c0b3730d521e99ae3bdf795c480376c4.tar.gz
emacs-e34fd2f2c0b3730d521e99ae3bdf795c480376c4.tar.bz2
emacs-e34fd2f2c0b3730d521e99ae3bdf795c480376c4.zip
(byte-compile-check-lambda-list):
Turn error for repeated variables into warning.
Diffstat (limited to 'lisp/emacs-lisp')
-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 8813e3891b5..6e3b5b923b4 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -10,7 +10,7 @@
;;; This version incorporates changes up to version 2.10 of the
;;; Zawinski-Furuseth compiler.
-(defconst byte-compile-version "$Revision: 2.88.1.1 $")
+(defconst byte-compile-version "$Revision: 2.89 $")
;; This file is part of GNU Emacs.
@@ -2151,7 +2151,7 @@ If FORM is a lambda or a macro, byte-compile it as a function."
(unless (cdr list)
(error "Variable name missing after &optional")))
((memq arg vars)
- (error "Repeated variable %s in lambda-list" arg))
+ (byte-compile-warn "repeated variable %s in lambda-list" arg))
(t
(push arg vars))))
(setq list (cdr list)))))