DescriptionSubzero: Make life a little easier for emacs users.
Emacs will try to execute .dir-locals.el whenever loading a file under
the subzero directory. It sets local variables depending on the mode.
Set the fill-column to 80 for c++-mode, c-mode, and python-mode. The
main use is when using M-q to reformat multi-line comments.
Disable tabs (use spaces instead) in c++-mode, c-mode, and
python-mode.
Set the tab-width to 2 spaces in python-mode. (The tab-width doesn't
really matter in c++-mode or c-mode thanks to clang-format.)
BUG= none
R=kschimpf@google.com
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=8fa8b4378ac13fa0ed0196e8dd1a5c642a8049d7
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|