about summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
authorCase Duckworth2021-04-01 16:53:49 -0500
committerCase Duckworth2021-04-01 16:55:40 -0500
commite535ec0a4b55bebe5bc364c3379b964d5021bfd1 (patch)
tree5ace43755f9b36c15d73595b7adc91410da81c00 /lisp
parentBreak "Programming languages" out into its own section (diff)
downloademacs-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.el7
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)