Fix "Unused lexical argument" warning

This commit is contained in:
Lars Tveito 2020-03-09 15:41:15 +01:00
parent 9af4fbe635
commit 707eee02d6

View File

@ -176,12 +176,12 @@ Returns the list of added overlays."
(while focus-unfocused-overlays (while focus-unfocused-overlays
(delete-overlay (pop focus-unfocused-overlays)))) (delete-overlay (pop focus-unfocused-overlays))))
(defun focus-move-focus (&rest args) (defun focus-move-focus (&rest _args)
"Move the focused section according to `focus-bounds'. "Move the focused section according to `focus-bounds'.
If `focus-mode' is enabled, this function is added to If `focus-mode' is enabled, this function is added to
`post-command-hook' and `window-scroll-functions'. The function `post-command-hook' and `window-scroll-functions'. The function
can be called with an arbitrary number of ARGS to support being can be called with an arbitrary number of _ARGS to support being
called from `window-scroll-functions'." called from `window-scroll-functions'."
(while-no-input (while-no-input
(with-current-buffer focus-buffer (with-current-buffer focus-buffer