]> git.eshelyaron.com Git - emacs.git/commitdiff
prefix argument with _ to suppress Unused lexical argument warning
authorJustin Talbott <justin@waymondo.com>
Mon, 13 Aug 2018 19:15:42 +0000 (15:15 -0400)
committerJustin Talbott <justin@waymondo.com>
Mon, 13 Aug 2018 19:15:42 +0000 (15:15 -0400)
per @tarsius’s comment
https://github.com/jwiegley/use-package/commit/5d9c854a6cf12fff2326ee5653e87e2d3d550a8d#commitcomment-29996666

lisp/use-package/use-package-chords.el

index 909056fbebed5a082cc31ff129676b299833bf0f..547adc27427b1167f58c1f98edb2d8d4646d9628 100644 (file)
@@ -30,7 +30,7 @@
 (defalias 'use-package-normalize/:chords 'use-package-normalize-binder)
 
 ;;;###autoload
-(defun use-package-handler/:chords (name keyword arg rest state)
+(defun use-package-handler/:chords (name _keyword arg rest state)
   "Handler for `:chords' keyword in `use-package'."
   (use-package-concat
    (use-package-process-keywords name rest state)