diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-24 14:34:57 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-24 14:34:57 -0500 |
| commit | ad173a77fbbe2e9ffb178b8765d0a3cc6b972aac (patch) | |
| tree | 861cc72c474e58a40dd5ecc7eb9350e5a46326ee /modules/custom-buffer-file.el | |
| parent | 5c0fa15d1d5bbe48f85f21e98bb6e91e9b9bcd85 (diff) | |
| download | dotemacs-ad173a77fbbe2e9ffb178b8765d0a3cc6b972aac.tar.gz dotemacs-ad173a77fbbe2e9ffb178b8765d0a3cc6b972aac.zip | |
refactor: declare cross-module commands bound in custom keymaps
custom-ordering.el binds cj/org-sort-by-todo-and-priority (owned by org-config) and custom-text-enclose.el binds change-inner/change-outer (the change-inner package). Both work at runtime — org-config loads eagerly and text-config autoloads change-inner via use-package :commands — but byte-compiling either module standalone warned "not known to be defined", and the dependency was implicit.
Added declare-function for each so the compile is clean and the cross-module relationship is explicit at the top of the file. No autoload needed: the runtime autoload/eager-load already exists, so only the compiler needed telling. custom-buffer-file.el byte-compiles clean already, so it needed no change.
Diffstat (limited to 'modules/custom-buffer-file.el')
0 files changed, 0 insertions, 0 deletions
