bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12300: 24.2.50; Unused lexical argument warning


From: Andreas Schwab
Subject: bug#12300: 24.2.50; Unused lexical argument warning
Date: Wed, 29 Aug 2012 09:08:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Ivan Kanis <ivan.kanis@googlemail.com> writes:

> I think there should not be any warning if a function argument is not
> used. I cannot change the function prototype for a process filter.

*Note (elisp) Using Lexical Binding::
   (To silence byte-compiler warnings about unused variables, just use
a variable name that start with an underscore.  The byte-compiler
interprets this as an indication that this is a variable known not to
be used.)

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]