Mercurial > emacs
changeset 66945:863620478661
(byte-optimize-form-code-walker): Improve warning message text.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 16 Nov 2005 22:20:03 +0000 |
parents | 917a63a49adf |
children | 41f652ac3620 |
files | lisp/emacs-lisp/byte-opt.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/byte-opt.el Wed Nov 16 22:18:46 2005 +0000 +++ b/lisp/emacs-lisp/byte-opt.el Wed Nov 16 22:20:03 2005 +0000 @@ -545,7 +545,7 @@ (eq (car-safe (nth 2 last)) 'cdr) (eq (cadr (nth 2 last)) var)))) (progn - (byte-compile-warn "`%s' called for effect" + (byte-compile-warn "value returned by `%s' is not used" (prin1-to-string (car form))) nil))) (byte-compile-log " %s called for effect; deleted" fn)