|
From: | Emanuel Berg |
Subject: | Re: Advice function needs argument not used in function, how to avoid compiler warning? |
Date: | Thu, 06 Oct 2022 01:46:30 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Jean Louis wrote: > I have to do (ignore args) to avoid compiler warning. > What does args receive? > > (defun hyperscope-after-sort (&rest args) > (ignore args) > (hyperscope-highlight)) > > (advice-add 'tabulated-list-col-sort :after 'hyperscope-after-sort) > (advice-add 'tabulated-list-sort :after > 'hyperscope-after-sort) (defun hyperscope-after-sort (&rest _) ... ) -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |