mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 22:20:24 -08:00
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.
This commit is contained in:
parent
314cbef849
commit
29d23b7fa0
2 changed files with 3 additions and 3 deletions
|
|
@ -1440,14 +1440,14 @@ literals (Bug#20852)."
|
|||
(let ((_ 1))
|
||||
))
|
||||
'((empty-body let))
|
||||
"Warning: Empty let body")
|
||||
"Warning: `let' with empty body")
|
||||
|
||||
(test-suppression
|
||||
'(defun zot ()
|
||||
(let* ((_ 1))
|
||||
))
|
||||
'((empty-body let*))
|
||||
"Warning: Empty let\\* body")
|
||||
"Warning: `let\\*' with empty body")
|
||||
|
||||
(test-suppression
|
||||
'(defun zot (x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue