summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/emacs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index de0d73cc..229ba617 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -31,7 +31,7 @@ in
     "*.el diff=elisp"
   ];
   programs.git.extraConfig."diff.elisp" = {
-    xfuncname = "^\\((((def\\S+)|use-package)\\s+\\S+)";
+    xfuncname = "^(((;;;+ )|\\(|([ \t]+\\(((cl-|el-patch-)?def(un|var|macro|method|custom)|gb/))).*)$";
   };
 
   programs.emacs = {