aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-line-paragraph.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 16:20:01 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 16:20:01 -0500
commit1dfd02da826d61d528fe42c5bee3c5dbcf098c82 (patch)
tree23a7038789459d5a0df2a3d948058b959581d44e /modules/custom-line-paragraph.el
parent09d51da39d01843011ab8e1206da5fe90de8d8f9 (diff)
downloaddotemacs-1dfd02da826d61d528fe42c5bee3c5dbcf098c82.tar.gz
dotemacs-1dfd02da826d61d528fe42c5bee3c5dbcf098c82.zip
docs(load-graph): classify text/editing command modules
Second classification batch: the nine custom-* text/editing command helpers (case, comments, datetime, buffer-file, line-paragraph, misc, ordering, text-enclose, whitespace). I annotated each with the load-graph header contract and added a Batch 2 table to the inventory. They're all Layer 2, eager only to register a C-; submap at load, with no necessary eager reason, so all are Phase 3/4 deferral candidates. The inventory records a second hidden dependency for Phase 2: custom-buffer-file guards its C-; b registration with (when (boundp 'cj/custom-keymap) ...) and declares the keymap only via eval-when-compile, so the binding silently drops when the module loads without keybindings.
Diffstat (limited to 'modules/custom-line-paragraph.el')
-rw-r--r--modules/custom-line-paragraph.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/custom-line-paragraph.el b/modules/custom-line-paragraph.el
index 0eb1e2a5..8bbbeadb 100644
--- a/modules/custom-line-paragraph.el
+++ b/modules/custom-line-paragraph.el
@@ -3,6 +3,17 @@
;;
;;; Commentary:
;;
+;; Layer: 2 (Core UX).
+;; Category: L/C.
+;; Load shape: eager.
+;; Eager reason: registers its C-; l line/paragraph submap at load. Currently
+;; eager by init order; a deferral candidate for Phase 3/4 (command/autoload +
+;; registration API).
+;; Top-level side effects: defines cj/line-and-paragraph-map, registers it under
+;; C-; l.
+;; Runtime requires: keybindings (expand-region on demand via declare-function).
+;; Direct test load: yes (requires keybindings explicitly).
+;;
;; This module provides the following line and paragraph manipulation utilities:
;;
;; - joining lines in a region or the current line with the previous one