# HG changeset patch # User Gerd Moellmann # Date 1002923978 0 # Node ID e42e6b9ee22156978467b9f1dd45a0c6811a1b4b # Parent 00ea1715c90aa4d9e648bd280a39399bd3714903 *** empty log message *** diff -r 00ea1715c90a -r e42e6b9ee221 lisp/ChangeLog --- a/lisp/ChangeLog Fri Oct 12 21:56:53 2001 +0000 +++ b/lisp/ChangeLog Fri Oct 12 21:59:38 2001 +0000 @@ -112,8 +112,11 @@ 2001-10-12 Gerd Moellmann - * emacs-lisp/bytecomp.el (byte-compile-check-lambda-list): - New function checking that lambda-list consists of non-constant + * emacs-lisp/bytecomp.el (byte-compile-check-lambda-list): + Turn error for repeated variables into warning. + + * emacs-lisp/bytecomp.el (byte-compile-check-lambda-list): New + function checking that lambda-list consists of non-constant symbols, that &rest and &optional are followed by variable names, that &rest VAR is the last element, and that variables aren't doubled. (byte-compile-lambda): Use it.