diff options
author | Case Duckworth | 2021-09-10 18:28:54 -0500 |
---|---|---|
committer | Case Duckworth | 2021-09-10 18:28:54 -0500 |
commit | af33dd36b4209bcf70880ac96754727fc6e2b132 (patch) | |
tree | a1d6f4bff69c0abe361073477c1b164fcf032a0d | |
parent | Remap C-x C-c to delete-frame (diff) | |
download | emacs-af33dd36b4209bcf70880ac96754727fc6e2b132.tar.gz emacs-af33dd36b4209bcf70880ac96754727fc6e2b132.zip |
Add studlify-dwim to case-map
-rw-r--r-- | init.el | 8 |
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) |