1094 |
it to t only in languages that mandate a final newline in source files |
it to t only in languages that mandate a final newline in source files |
1095 |
(C, C++ and Objective-C). |
(C, C++ and Objective-C). |
1096 |
|
|
1097 |
*** Slight API change for the syntactic context used by lineup functions. |
*** Format change for syntactic context elements. |
1098 |
The syntactic context stored in c-syntactic-context has been changed |
The elements in the syntactic context returned by c-guess-basic-syntax |
1099 |
to allow more information. This might affect custom lineup functions, |
and stored in c-syntactic-context has been changed somewhat to allow |
1100 |
but only if they use that variable directly. See its docstring for |
attaching more information. They are now lists instead of single cons |
1101 |
more details. |
cells. E.g. a line that previously had the syntactic analysis |
1102 |
|
|
1103 |
|
((inclass . 11) (topmost-intro . 13)) |
1104 |
|
|
1105 |
|
is now analysed as |
1106 |
|
|
1107 |
|
((inclass 11) (topmost-intro 13)) |
1108 |
|
|
1109 |
|
In some cases there are more than one position given for a syntactic |
1110 |
|
symbol. |
1111 |
|
|
1112 |
|
This change might affect code that call c-guess-basic-syntax directly, |
1113 |
|
and custom lineup functions if they use c-syntactic-context. However, |
1114 |
|
the argument given to lineup functions is still a single cons cell |
1115 |
|
with nil or an integer in the cdr. |
1116 |
|
|
1117 |
*** API changes for derived modes. |
*** API changes for derived modes. |
1118 |
There have been extensive changes "under the hood" which can affect |
There have been extensive changes "under the hood" which can affect |