aboutsummaryrefslogtreecommitdiff
path: root/modules/prog-shell.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-15 00:37:08 -0500
committerCraig Jennings <c@cjennings.net>2026-05-15 00:37:08 -0500
commitafe93aec6227dfe0f3a3b5965c0c802c278875cb (patch)
treef42086c8de08951ef3949b222855d62355b48ed1 /modules/prog-shell.el
parent7d86e744cf9050f47c7c8aa74fa6a09d41f2c0ce (diff)
downloaddotemacs-afe93aec6227dfe0f3a3b5965c0c802c278875cb.tar.gz
dotemacs-afe93aec6227dfe0f3a3b5965c0c802c278875cb.zip
refactor(calibredb-epub): reorder defuns above their use-package consumers
`make compile' had been flagging `cj/calibredb-clear-filters' and `cj/nov-jump-to-calibredb' as "defined multiple times in this file" since 2026-05-12. Investigation: there's only one `(defun ...)' of each in the source -- use-package's `:bind' expansion makes the byte-compiler count the referenced symbol as a definition when the function is defined in the same file, then it sees the real `defun' later and warns about a redefinition. Reorder so each `defun' appears before the `use-package' that references it via `:bind': - `cj/calibredb-clear-filters' moved above (use-package calibredb). - `cj/nov--metadata-get', `cj/nov--file-path', and `cj/nov-jump-to-calibredb' moved above (use-package nov). The two helpers had to move with the public function so the byte-compiler doesn't emit fresh free-function warnings. Source content unchanged; only line positions move. Both duplicate-definition warnings are gone after this; full unit suite still green.
Diffstat (limited to 'modules/prog-shell.el')
0 files changed, 0 insertions, 0 deletions