summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <greg@awhk.org>2026-01-04 00:02:16 +0000
committerGrégoire Duchêne <greg@awhk.org>2026-01-04 00:02:16 +0000
commitdff74b1bed827f1f36720708ce07728fc19d8811 (patch)
tree716a044e19ca2ee035607cc15f3585700d7bc976
parent5bfe3d25a06525ed986627ea82877bd78481161b (diff)
emacs: Remove ‘my/with-add-hook’ macro
-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)))