Mercurial > emacs
changeset 39853:e42e6b9ee221
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 12 Oct 2001 21:59:38 +0000 |
parents | 00ea1715c90a |
children | a1e434124570 |
files | lisp/ChangeLog |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <gerd@gnu.org> - * 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.