Logo
Explore Help
Sign In
morgan/systemd
1
0
Fork 0
You've already forked systemd
mirror of https://github.com/morgan9e/systemd synced 2026-04-15 00:47:10 +09:00
Code Issues Packages Projects Releases Wiki Activity
Files
0c7bff0acc8fd04bac9bfd16d696139951149ceb
systemd/.dir-locals.el

8 lines
210 B
EmacsLisp
Raw Normal View History

Keep emacs configuration in one configuration file. 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.
2011-03-07 19:23:04 +01:00
; 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)))
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 1098ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API