From dff74b1bed827f1f36720708ce07728fc19d8811 Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sun, 4 Jan 2026 00:02:16 +0000 Subject: emacs: Remove ‘my/with-add-hook’ macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emacs/functions.el | 4 ---- 1 file changed, 4 deletions(-) diff --git a/emacs/functions.el b/emacs/functions.el index 21df594..f09c0d1 100644 --- a/emacs/functions.el +++ b/emacs/functions.el @@ -86,7 +86,3 @@ enabled." "Interactively call ‘eglot-code-action-organize-imports’." (interactive) (call-interactively #'eglot-code-action-organize-imports)) - -(defmacro my/with-add-hook (hook &rest body) - (declare (indent 1) (debug t)) - `(add-hook ,hook #'(lambda () ,@body))) -- cgit v1.2.3-70-g09d2