Hi everyone, I met some of you at the Fosdem, so well since I like to customize emacs a lot to make my life easier I tried to set some dir-local-variables for emacs. Here is a patch, with these settings it will enabel flyspell-prog-mode, which checks for english errors in comments and string for every mode, and a suitable indentation-style and a compile-command.
Hope it's useful for anyone, and I'm sure that much more can be done... PS. the first git patch that I send from emacs, so please let me know if it's not formatted as it should be. .dir-locals.el | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) create mode 100644 .dir-locals.el --- diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..4669bec --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,8 @@ +;;; Directory Local Variables +;;; See Info node `(emacs) Directory Variables' for more information. + +((nil . + ((eval . (flyspell-prog-mode)))) + (c-mode . + ((compile-command . "make -j") + (c-indentation-style . "k&r")))) -- 1.7.4.1 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
