mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
85f0c93a50
On 07.03.2011 19:04, Lennart Poettering wrote: > > Oh, I had assumed that .vimrc trick would allow project-wide vim > modelines without having to edit each and every single file. > > Currently, every file does contain an emacs modeline at the top. It > would be fair I guess to add a vim modeline to all those files too, even > though it's not necessarily pretty. Hi, maybe it makes sense to go in the opposite direction: add .dir-locals.el in the top directory. The settings are actually identical in all .[ch] files.
8 lines
210 B
EmacsLisp
8 lines
210 B
EmacsLisp
; Sets emacs variables based on mode.
|
|
; A list of (major-mode . ((var1 . value1) (var2 . value2)))
|
|
; Mode can be nil, which gives default values.
|
|
|
|
((nil . ((indent-tabs-mode . nil)
|
|
(tab-width . 8)))
|
|
)
|