From d22d004ed9bdc11dbc21be368f90384ed8b1b795 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 23 Oct 2025 00:15:14 -0500 Subject: refactor: unify and simplify key binding setups Optimized key binding configurations across modules for consistency and reduced redundancy. Improved conditional requiring to handle errors gracefully in `music-config.el`, ensuring robustness across different machine environments. Eliminated comments clutter and adjusted function definitions to adhere to revised standards. --- modules/custom-ordering.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/custom-ordering.el') diff --git a/modules/custom-ordering.el b/modules/custom-ordering.el index c0b098f7..8e8a4da6 100644 --- a/modules/custom-ordering.el +++ b/modules/custom-ordering.el @@ -82,12 +82,11 @@ Produce a comma-separated list as the result." (insert text))) + ;; Ordering & sorting prefix and keymap (define-prefix-command 'cj/ordering-map nil - "Keymap for text ordering and sorting operations.") + "text ordering and sorting operations.") (keymap-set cj/custom-keymap "o" #'cj/ordering-map) - - (keymap-set cj/ordering-map "a" #'cj/arrayify) (keymap-set cj/ordering-map "u" #'cj/unarrayify) (keymap-set cj/ordering-map "A" #'cj/alphabetize-region) -- cgit v1.2.3