summaryrefslogtreecommitdiff
path: root/emacs/functions.el
diff options
context:
space:
mode:
authorGrégoire Duchêne <gregoire@awhk.org>2026-05-04 18:00:19 +0100
committerGrégoire Duchêne <gregoire@awhk.org>2026-05-04 18:00:19 +0100
commitf9d166c73563db0a99dfe44c3490b76cd0cc08aa (patch)
treef283fe0a57a9cc961679dadfec0e862f222ff2b9 /emacs/functions.el
parent0604182434f4b21a4ac40119c32f3889adc9947a (diff)
emacs: Remove ‘my/with-add-hook’ macro
Diffstat (limited to 'emacs/functions.el')
-rw-r--r--emacs/functions.el4
1 files changed, 0 insertions, 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)))