HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d4652
)
snippets: Remove unwanted git-commit-mode invocation.
author
Andrew Tropin
<andrew@trop.in>
Tue, 27 Dec 2022 08:35:41 +0000
(12:35 +0400)
committer
Andrew Tropin
<andrew@trop.in>
Tue, 27 Dec 2022 08:38:05 +0000
(12:38 +0400)
We only need to check if git-commit-mode is t, not enable it in all text-mode
buffers.
* etc/snippets/tempel/text-mode: Remove unwanted git-commit-mode invocation.
etc/snippets/tempel/text-mode
patch
|
blob
|
blame
|
history
diff --git
a/etc/snippets/tempel/text-mode
b/etc/snippets/tempel/text-mode
index
fd0e95e
..
1cda91c
100644
(file)
--- a/
etc/snippets/tempel/text-mode
+++ b/
etc/snippets/tempel/text-mode
@@
-1,6
+1,6
@@
-*- mode: lisp-data -*-
-text-mode :when (and (fboundp 'git-commit-mode)
(git-commit-mode)
)
+text-mode :when (and (fboundp 'git-commit-mode)
git-commit-mode
)
(add\ "gnu: Add "
(p (with-temp-buffer