summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-salt.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2016-06-09 12:24:27 +0000
committerAlan Mackenzie <acm@muc.de>2016-06-09 12:24:27 +0000
commitfabb558250fca14a2684357a95225241253cdfda (patch)
tree6d54ec0d8cdbd162404652a3c33ba58497ddcd82 /lisp/gnus/gnus-salt.el
parent47b710a976d6e343d48b5170757a7971b0ac2966 (diff)
downloademacs-fabb558250fca14a2684357a95225241253cdfda.tar.gz
emacs-fabb558250fca14a2684357a95225241253cdfda.tar.bz2
emacs-fabb558250fca14a2684357a95225241253cdfda.zip
Handle C++ raw strings.
* lisp/progmodes/cc-engine.el (c-raw-string-pos, c-depropertize-raw-string) (c-depropertize-raw-strings-in-region, c-before-change-check-raw-strings) (c-propertize-raw-string-opener, c-after-change-re-mark-raw-strings): New functions. * lisp/progmodes/cc-fonts.el (c-basic-matchers-before): Insert a clause for c-font-lock-raw-strings. (c-font-lock-raw-strings): New function. * lisp/progmodes/cc-langs.el (c-get-state-before-change-functions): Insert c-before-change-check-raw-strings into the C++ value, and c-depropertize-CPP into the values for C, C++, and Objective C. (c-before-font-lock-functions): Insert c-after-change-re-mark-raw-strings into the C++ value. * lisp/progmodes/cc-mode.el (c-old-BEG, c-old-END): New variables. (c-depropertize-CPP): New function, extracted from c-neutralize-syntax-in-and-mark-CPP. (c-neutralize-syntax-in-and-mark-CPP): Remove the call to c-clear-char-property-with-value for 'syntax-table value '(1) at the beginning of the function. (c-after-change): Set c-old-BEG and c-old-END to the current values of c-new-BEG and c-new-END.
Diffstat (limited to 'lisp/gnus/gnus-salt.el')
0 files changed, 0 insertions, 0 deletions