about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-09-10 18:28:54 -0500
committerCase Duckworth2021-09-10 18:28:54 -0500
commitaf33dd36b4209bcf70880ac96754727fc6e2b132 (patch)
treea1d6f4bff69c0abe361073477c1b164fcf032a0d /init.el
parentRemap C-x C-c to delete-frame (diff)
downloademacs-af33dd36b4209bcf70880ac96754727fc6e2b132.tar.gz
emacs-af33dd36b4209bcf70880ac96754727fc6e2b132.zip
Add studlify-dwim to case-map
Diffstat (limited to 'init.el')
-rw-r--r--init.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/init.el b/init.el index ed98a41..80e3f39 100644 --- a/init.el +++ b/init.el
@@ -763,7 +763,13 @@ AKA, DO NOT USE THIS FUNCTION!!!"
763 (:bind "c" #'capitalize-dwim 763 (:bind "c" #'capitalize-dwim
764 "t" #'titlecase-dwim 764 "t" #'titlecase-dwim
765 "u" #'upcase-dwim 765 "u" #'upcase-dwim
766 "l" #'downcase-dwim)) 766 "l" #'downcase-dwim
767 "s" (defun studlify-dwim (count)
768 "Studlify region if active, or COUNT words if not."
769 (interactive "*p")
770 (if (region-active-p)
771 (studlify-region (region-beginning) (region-end))
772 (studlify-word count)))))
767 773
768 (add-hook 'after-make-frame-functions 774 (add-hook 'after-make-frame-functions
769 (defun after-make-frame@maximize (frame) 775 (defun after-make-frame@maximize (frame)