projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7f88c32
)
emacs: use conf-mode .*rc files, but use sh-mode for .bashrc
author
Amin Bandali
<bandali@gnu.org>
Sun, 19 May 2019 15:18:43 +0000
(11:18 -0400)
committer
Amin Bandali
<bandali@gnu.org>
Sun, 19 May 2019 15:30:51 +0000
(11:30 -0400)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
a0b328e
..
d135772
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-947,6
+947,12
@@
For disabling the behaviour for certain buffers and/or modes."
:hook ((text-mode . indicate-buffer-boundaries-left)
(text-mode . abbrev-mode)))
+(use-feature conf-mode
+ :mode "\\.*rc$")
+
+(use-feature sh-mode
+ :mode "\\.bashrc$")
+
(use-package company
:defer 0.6
:bind