[git] Add custom hunk-headers for Emacs Lisp files

This commit is contained in:
Tom Willemse 2023-03-20 23:00:55 -07:00
parent dd23871b67
commit 8eb8bcacdf
2 changed files with 3 additions and 0 deletions

View file

@ -1 +1,2 @@
*.org diff=org
*.el diff=lisp

View file

@ -3,3 +3,5 @@
email = tom@ryuslash.org
[diff "org"]
xfuncname = "^\\*+ *(.*)"
[diff "lisp"]
xfuncname = "^[[:space:]]*?\\(def\\w+? ((\\w|-|'|:|=|<|>)+)"