aboutsummaryrefslogtreecommitdiff
path: root/modules/mousetrap-mode.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 16:28:07 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 16:28:07 -0500
commite1789025131b048049777542a91fb7eb55195ce5 (patch)
treef6b795035436a20cc234c2f32555f9b43c4a657b /modules/mousetrap-mode.el
parent67d8040ad19461cf2a393af95268f92b784d7ece (diff)
downloaddotemacs-e1789025131b048049777542a91fb7eb55195ce5.tar.gz
dotemacs-e1789025131b048049777542a91fb7eb55195ce5.zip
docs(load-graph): classify UI and core-UX modules
Fourth classification batch: the modules that shape the first interactive frame — ui-config, ui-theme, ui-navigation, font-config, selection-framework, modeline-config, mousetrap-mode, popper-config, dashboard-config, nerd-icons-config. I annotated each header, added a Batch 4 table to the inventory, and extended the validation allowlist. 33 of 102 modules are now classified. These mostly stay eager: each has a real first-frame reason (theme, font, modeline, completion stack, landing page). No new hidden dependencies. popper-config carries the spec's open question about its enabled/disabled state, noted for the deferral phase.
Diffstat (limited to 'modules/mousetrap-mode.el')
-rw-r--r--modules/mousetrap-mode.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/mousetrap-mode.el b/modules/mousetrap-mode.el
index d7f422de..5da66780 100644
--- a/modules/mousetrap-mode.el
+++ b/modules/mousetrap-mode.el
@@ -1,6 +1,16 @@
;;; mousetrap-mode.el --- -*- coding: utf-8; lexical-binding: t; -*-
;;
;;; Commentary:
+;;
+;; Layer: 2 (Core UX).
+;; Category: C.
+;; Load shape: eager.
+;; Eager reason: a global minor mode that prevents accidental mouse edits,
+;; wanted from the first session.
+;; Top-level side effects: three add-hook, one add-to-list, one global key.
+;; Runtime requires: cl-lib.
+;; Direct test load: yes.
+;;
;; Mouse Trap Mode is a minor mode for Emacs that disables most mouse and
;; trackpad events to prevent accidental text modifications. Hitting the
;; trackpad and finding my text is being inserted in an unintended place is