From e535ec0a4b55bebe5bc364c3379b964d5021bfd1 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 1 Apr 2021 16:53:49 -0500 Subject: 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. --- lisp/acdw.el | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lisp/acdw.el') 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'." (run-at-time sunset-time (* 60 60 24) sunset-command) (run-at-time "12:00am" (* 60 60 24) sunset-command))) -;;;; Re-indent a buffer -(defun acdw/reindent-buffer () - "Call `indent-region' on the whole buffer." - (interactive) - (save-excursion - (indent-region (point-min) (point-max)))) - ;;; Garbage collection hacks (defconst acdw/gc-cons-threshold-basis (* 800 1024) -- cgit 1.4.1-21-gabe81