]> git.donarmstrong.com Git - lilypond.git/commit
Issue 2853: Set up indent-tabs-mode for Emacs in lexer.ll and parser.yy
authorDavid Kastrup <dak@gnu.org>
Fri, 21 Sep 2012 10:49:23 +0000 (12:49 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 26 Sep 2012 08:44:05 +0000 (10:44 +0200)
commitfe92075e94be52ddb5b1e9b5c6e2f5fcc44c5d59
tree7a7cb9e8b73d6f2644862ffe1e6c6702503fd7da
parent244ad7cc416a47f1567a3a221fcb05da5d90915e
Issue 2853: Set up indent-tabs-mode for Emacs in lexer.ll and parser.yy

indent-tabs-mode has been switched off for C++ files generally via
directory-local variables when editing with Emacs.

However, for lack of working better indentation modes that cooperate
well with Bison and Flex files, lexer.ll and parser.yy are using a
tab-based indentation style oriented on the Linux kernel indentation
style.  In order to not cause an even greater inconsistent mess, local
file variables are used for switching tab-based indentation back on in
those files when editing them with Emacs.
lily/lexer.ll
lily/parser.yy