* lisp/dired-aux.el (dired-do-open): Optimize (bug#73004).
[emacs.git] / .clang-format
blob7929a7435f25bd8f326229adb91d34743e0d64e6
1 BasedOnStyle: GNU
2 AlignEscapedNewlinesLeft: true
3 AlignOperands: Align
4 AlwaysBreakAfterReturnType: TopLevelDefinitions
5 BreakBeforeBinaryOperators: All
6 BreakBeforeBraces: GNU
7 ColumnLimit: 70
8 ContinuationIndentWidth: 2
9 IndentPPDirectives: AfterHash
10 PPIndentWidth: 1
11 ForEachMacros:
12   - FOR_EACH_TAIL
13   - FOR_EACH_TAIL_SAFE
14   - FOR_EACH_LIVE_BUFFER
15   - ITREE_FOREACH
16   - FOR_EACH_ALIST_VALUE
17 IncludeCategories:
18   - Regex: '^<config\.h>$'
19     Priority: -1
20   - Regex: '^<'
21     Priority: 1
22   - Regex: '^"lisp\.h"$'
23     Priority: 2
24   - Regex: '.*'
25     Priority: 3
26 WhitespaceSensitiveMacros:
27   - STR
28   - CALL1I
29   - CALL2I
30   - STR_VALUE
31 KeepEmptyLinesAtTheStartOfBlocks: false
32 MaxEmptyLinesToKeep: 1
33 PenaltyBreakBeforeFirstCallParameter: 2000
34 SpaceAfterCStyleCast: true
35 SpaceBeforeParens: Always
36 UseTab: Always
37 ---
38 Language: Cpp
39 ---
40 Language: ObjC
42 # Local Variables:
43 # mode: yaml
44 # End: