changeset 39852:00ea1715c90a

(byte-compile-check-lambda-list): Turn error for repeated variables into warning.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 12 Oct 2001 21:56:53 +0000
parents a535a2e3b5c4
children e42e6b9ee221
files lisp/emacs-lisp/bytecomp.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el	Fri Oct 12 21:53:44 2001 +0000
+++ b/lisp/emacs-lisp/bytecomp.el	Fri Oct 12 21:56:53 2001 +0000
@@ -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 @@
 	       (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)))))