85f0c93a50c14cebf0be2740de64c14f27ac61b3Zbigniew Jędrzejewski-Szmek; Sets emacs variables based on mode.
85f0c93a50c14cebf0be2740de64c14f27ac61b3Zbigniew Jędrzejewski-Szmek; A list of (major-mode . ((var1 . value1) (var2 . value2)))
85f0c93a50c14cebf0be2740de64c14f27ac61b3Zbigniew Jędrzejewski-Szmek; Mode can be nil, which gives default values.
85f0c93a50c14cebf0be2740de64c14f27ac61b3Zbigniew Jędrzejewski-Szmek
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering; Note that we set a line width of 119 for .c and XML files, but for everything
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering; else (such as journal catalog files, unit files, README files) we stick to a
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering; more conservative 79 characters.
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering; NOTE: If you update this file make sure to update .vimrc and .editorconfig,
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering; too.
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering
85f0c93a50c14cebf0be2740de64c14f27ac61b3Zbigniew Jędrzejewski-Szmek((nil . ((indent-tabs-mode . nil)
e84750c905111675bdae8437257c764e13d776b5Lennart Poettering (tab-width . 8)
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering (fill-column . 79)))
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering (c-mode . ((fill-column . 119)
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering (c-basic-offset . 8)
e84750c905111675bdae8437257c764e13d776b5Lennart Poettering (eval . (c-set-offset 'substatement-open 0))
e84750c905111675bdae8437257c764e13d776b5Lennart Poettering (eval . (c-set-offset 'statement-case-open 0))
e84750c905111675bdae8437257c764e13d776b5Lennart Poettering (eval . (c-set-offset 'case-label 0))
e84750c905111675bdae8437257c764e13d776b5Lennart Poettering (eval . (c-set-offset 'arglist-intro '++))
54230826fd9cfaff5d49ab15cadd1f43105ffff2Lennart Poettering (eval . (c-set-offset 'arglist-close 0))))
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering (nxml-mode . ((nxml-child-indent . 2)
2eb169bd02256d1229daddcb7fc9c6f17f532bc4Lennart Poettering (fill-column . 119))))