# HG changeset patch # User Gerd Moellmann # Date 1002923813 0 # Node ID 00ea1715c90aa4d9e648bd280a39399bd3714903 # Parent a535a2e3b5c49e31e35d8bee196d26112703aabe (byte-compile-check-lambda-list): Turn error for repeated variables into warning. diff -r a535a2e3b5c4 -r 00ea1715c90a lisp/emacs-lisp/bytecomp.el --- 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)))))