chiark / gitweb /
Keep emacs configuration in one configuration file.
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 7 Mar 2011 18:23:04 +0000 (19:23 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Mar 2011 00:53:46 +0000 (01:53 +0100)
commit85f0c93a50c14cebf0be2740de64c14f27ac61b3
tree47f057850df14ff883f633550d33ece84665dbd8
parentb670e92b50686773c82ccb4c07f93e85ff90783b
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.
.dir-locals.el [new file with mode: 0644]