diff options
author | Case Duckworth | 2021-04-01 16:53:49 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-01 16:55:40 -0500 |
commit | e535ec0a4b55bebe5bc364c3379b964d5021bfd1 (patch) | |
tree | 5ace43755f9b36c15d73595b7adc91410da81c00 /lisp | |
parent | Break "Programming languages" out into its own section (diff) | |
download | emacs-e535ec0a4b55bebe5bc364c3379b964d5021bfd1.tar.gz emacs-e535ec0a4b55bebe5bc364c3379b964d5021bfd1.zip |
Add function `dumb-auto-format' that checks with apheleia first
In adding `dumb-auto-format', I've removed `acdw/reformat-buffer' because it's not complex enough or stand-alone enough to keep as its own function. 21 guns.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/acdw.el | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lisp/acdw.el b/lisp/acdw.el index 8096a70..0203f3b 100644 --- a/lisp/acdw.el +++ b/lisp/acdw.el | |||
@@ -58,13 +58,6 @@ Ready for use with `after-focus-change-function'." | |||
58 | (run-at-time sunset-time (* 60 60 24) sunset-command) | 58 | (run-at-time sunset-time (* 60 60 24) sunset-command) |
59 | (run-at-time "12:00am" (* 60 60 24) sunset-command))) | 59 | (run-at-time "12:00am" (* 60 60 24) sunset-command))) |
60 | 60 | ||
61 | ;;;; Re-indent a buffer | ||
62 | (defun acdw/reindent-buffer () | ||
63 | "Call `indent-region' on the whole buffer." | ||
64 | (interactive) | ||
65 | (save-excursion | ||
66 | (indent-region (point-min) (point-max)))) | ||
67 | |||
68 | ;;; Garbage collection hacks | 61 | ;;; Garbage collection hacks |
69 | 62 | ||
70 | (defconst acdw/gc-cons-threshold-basis (* 800 1024) | 63 | (defconst acdw/gc-cons-threshold-basis (* 800 1024) |