aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorAlan Mackenzie2025-06-11 13:43:50 +0000
committerAlan Mackenzie2025-06-11 13:43:50 +0000
commit1468daf1d1b3ea2916384e4ae78050a9451a64d8 (patch)
tree9a96ed7462b14b18de7046e4b22d80a9245570fe /src/bytecode.c
parentbf418cd836c40795ec4ee19de5c5742d3ca698ea (diff)
downloademacs-1468daf1d1b3ea2916384e4ae78050a9451a64d8.tar.gz
emacs-1468daf1d1b3ea2916384e4ae78050a9451a64d8.zip
Amend CC Mode so that the test suite in XEmacs runs error free
* lisp/progmodes/cc-awk.el (awk-font-lock-keywords): Reformulate this using backquote and ,@. Only include the entry for _" in Emacs. * lisp/progmodes/cc-defs.el (c--mapcan, c--set-difference) c--intersection, c--macroexpand-all, c--delete-duplicates): No longer use the existence of cl-lib.el as the criterion for what to expand to. (c-min-property-position): Use c-next-single-property-change rather than next-single-property-change. This now works in XEmacs. * lisp/progmodes/cc-engine.el (c-invalidate-sws-region-after-del) (c-invalidate-sws-region-after-ins, c-forward-sws) (c-backward-sws, c-find-decl-spots): Replace next/previous-single-property-change by c-next/previous-single-property-change to ensure functionality in XEmacs. (c-forward-sws, c-backward-sws): Handle NO-BREAKING-SPACE as whitespace. This corrects the error in hardspace.c in the test suite. * lisp/progmodes/cc-fonts.el (c-font-lock-ml-strings): Refactor some nested `if's into a cond form. Don't fontify multiline string delimiters in XEmacs, in keeping with its string conventions. * lisp/progmodes/cc-langs.el (c-populate-syntax-table): Set the syntax of NO-BREAKING-SPACE to whitespace rather than punctuation. * lisp/progmodes/cc-mode.el (c-before-change): Use c-previous-single-property-change rather than previous-single-property-change to ensure functionality in XEmacs.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions