aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-whitespace.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-28 03:49:09 -0400
committerCraig Jennings <c@cjennings.net>2026-06-28 03:49:09 -0400
commit0ee61aba411e2abeee676ca802206cfc1676e04f (patch)
tree6438cea1110885c3d73ac2e32e15e59b9703d947 /modules/custom-whitespace.el
parent095ffbb835ceac1841cf53a3cb3c2571c3f00ec3 (diff)
downloaddotemacs-0ee61aba411e2abeee676ca802206cfc1676e04f.tar.gz
dotemacs-0ee61aba411e2abeee676ca802206cfc1676e04f.zip
docs: fix blank package summaries and normalize more module headers
More of the commentary/comment audit. The custom-* command modules, weather-config, and mousetrap-mode had empty package summary lines and verbose summary paragraphs. I filled the summaries and condensed the prose while keeping each module's load-contract metadata. dwim-shell-config and auth-config had malformed ;; headers (now ;;;), local-repository had a leading BOM, and two test files had blank summaries.
Diffstat (limited to 'modules/custom-whitespace.el')
-rw-r--r--modules/custom-whitespace.el19
1 files changed, 5 insertions, 14 deletions
diff --git a/modules/custom-whitespace.el b/modules/custom-whitespace.el
index 0d4d1cc06..cbf3eff12 100644
--- a/modules/custom-whitespace.el
+++ b/modules/custom-whitespace.el
@@ -1,4 +1,4 @@
-;;; custom-whitespace.el --- -*- coding: utf-8; lexical-binding: t; -*-
+;;; custom-whitespace.el --- Whitespace cleanup commands -*- coding: utf-8; lexical-binding: t; -*-
;;; Commentary:
;;
@@ -12,19 +12,10 @@
;; Runtime requires: keybindings.
;; Direct test load: yes (requires keybindings explicitly).
;;
-;; This module provides whitespace manipulation operations for cleaning and transforming whitespace in text.
-
-;; Functions include:
-
-;; - removing leading and trailing whitespace
-;; - collapsing multiple spaces to single spaces
-;; - deleting blank lines
-;; - converting whitespace to hyphens.
-
-;; All operations work on the current line, active region, or entire buffer depending on context.
-
-;; Bound to keymap prefix C-; w
-
+;; Whitespace cleanup under C-; w: trim line edges, collapse runs of spaces,
+;; delete blank lines, enforce a single blank line, and hyphenate whitespace.
+;; Commands choose region, buffer, or current line based on prefix/mark state.
+;;
;;; Code:
(require 'keybindings) ;; provides cj/custom-keymap