summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-03 16:22:02 +0200
committerAlan Pearce2024-05-03 16:22:02 +0200
commitd73b29a52239ca15632dc26d1202431068bee242 (patch)
tree609a21fcd7f61dbdf4677b204bd81ba97fe60b4b
parent495018c84057e99bb5f9abd273d10957c62138e3 (diff)
downloadnixfiles-d73b29a52239ca15632dc26d1202431068bee242.tar.lz
nixfiles-d73b29a52239ca15632dc26d1202431068bee242.tar.zst
nixfiles-d73b29a52239ca15632dc26d1202431068bee242.zip
emacs: fix incorrect use of defvaralias
-rw-r--r--user/emacs/init.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index c74c0a9e..25ddbc80 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -999,19 +999,19 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
             (setq treemacs-no-png-images t)))
 
 (if (boundp 'typescript-mode-hook)
-    (defvaralias typescript-ts-mode-hook typescript-mode-hook))
+    (defvaralias 'typescript-ts-mode-hook 'typescript-mode-hook))
 
 (if (boundp 'dockerfile-mode-hook)
-    (defvaralias dockerfile-ts-mode-hook dockerfile-mode-hook))
+    (defvaralias 'dockerfile-ts-mode-hook 'dockerfile-mode-hook))
 
 (if (boundp 'yaml-mode-hook)
-    (defvaralias yaml-ts-mode-hook yaml-mode-hook))
+    (defvaralias 'yaml-ts-mode-hook 'yaml-mode-hook))
 
 (if (boundp 'go-mode-hook)
-    (defvaralias go-ts-mode-hook go-mode-hook))
+    (defvaralias 'go-ts-mode-hook 'go-mode-hook))
 
 (if (boundp 'nix-mode-hook)
-    (defvaralias nix-ts-mode-hook nix-mode-hook))
+    (defvaralias 'nix-ts-mode-hook 'nix-mode-hook))
 
 (use-package eglot
   :defer 3