Skip to content

Instantly share code, notes, and snippets.

;; -*- lexical-binding: t; -*-
;;;; Auto-revert
;; Like Doom, don't actually enable `auto-revert-mode'; this is all you want.
;; Avoids perf suckage when batch-processing many file buffers.
(require 'autorevert)
(setq auto-revert-verbose t)
(setq auto-revert-use-notify nil)
(setq auto-revert-stop-on-user-input nil)
@meedstrom
meedstrom / gist:b31758e8c5f022e04b3a72e18155985e
Last active March 3, 2026 16:45
Compact standalone `quiet!` macro

Here is a compact reimplementation of Doom's quiet! macro. It depends on package llama, but I challenge anyone to rewrite it with lambdas and then tell me that it was worth it.

;; -*- lexical-binding: t; -*-
(defmacro quiet! (&rest forms)
  "Eval FORMS like `progn', but muffle all messages."
  `(if init-file-debug
       (progn ,@forms)
     (let ((inhibit-message t)
 (save-silently t)