From f9d166c73563db0a99dfe44c3490b76cd0cc08aa Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Mon, 4 May 2026 18:00:19 +0100 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(-) (limited to 'emacs/functions.el') 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.3