diff options
| author | Mattias EngdegÄrd | 2022-12-29 17:00:01 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2022-12-29 17:00:01 +0100 |
| commit | 29d23b7fa00ed8263baa060d487b526d51fa6986 (patch) | |
| tree | 193efedacba016a6e88a4e23b22121e37f284744 /test | |
| parent | 314cbef84944145e2160736ce32812403ed99cd9 (diff) | |
| download | emacs-29d23b7fa00ed8263baa060d487b526d51fa6986.tar.gz emacs-29d23b7fa00ed8263baa060d487b526d51fa6986.zip | |
Consistent empty-body warning messages for let and let*
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-test--with-suppressed-warnings):
Make warning messages for let and let* consistent with other
empty-body warnings.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index eec66c9585a..5c61ca10b9c 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el | |||
| @@ -1440,14 +1440,14 @@ literals (Bug#20852)." | |||
| 1440 | (let ((_ 1)) | 1440 | (let ((_ 1)) |
| 1441 | )) | 1441 | )) |
| 1442 | '((empty-body let)) | 1442 | '((empty-body let)) |
| 1443 | "Warning: Empty let body") | 1443 | "Warning: `let' with empty body") |
| 1444 | 1444 | ||
| 1445 | (test-suppression | 1445 | (test-suppression |
| 1446 | '(defun zot () | 1446 | '(defun zot () |
| 1447 | (let* ((_ 1)) | 1447 | (let* ((_ 1)) |
| 1448 | )) | 1448 | )) |
| 1449 | '((empty-body let*)) | 1449 | '((empty-body let*)) |
| 1450 | "Warning: Empty let\\* body") | 1450 | "Warning: `let\\*' with empty body") |
| 1451 | 1451 | ||
| 1452 | (test-suppression | 1452 | (test-suppression |
| 1453 | '(defun zot (x) | 1453 | '(defun zot (x) |