tkf / emacs-request

Request.el -- Easy HTTP request for Emacs Lisp
http://tkf.github.com/emacs-request/
GNU General Public License v3.0
629 stars 93 forks source link

Rename unused arguments to start with underscore #142

Closed telotortium closed 5 years ago

telotortium commented 5 years ago

Otherwise, the byte compiler complains with errors like this:

In toplevel form:
third_party/elisp/request/tests/test-request.el:188:1:Error: Unused lexical argument `args'

You can tell the byte compiler the variable is unused by giving it a name starting with an underscore (_) (manual).

dickmao commented 5 years ago

Thanks.