diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-10-12 21:59:38 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-10-12 21:59:38 +0000 |
commit | e34fd2f2c0b3730d521e99ae3bdf795c480376c4 (patch) | |
tree | fea5e264351b2b6584a279cf1066559126a796c4 /lisp/emacs-lisp | |
parent | 19d4e9a77301642cf131d10ffce88f4ea5c37d78 (diff) | |
download | emacs-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.el | 4 |
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))))) |