1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
emacs/doc
Alan Mackenzie 326ffcce5f Allow line comments ending with escaped NL to be continued to the next line.
Use this in C, C++, and Objective C Modes.  Fixes bug#22246

* src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
(forw-comment, back-comment): On encountering an end of comment character,
test whether it is escaped when `comment-end-can-be-escaped' is non-nil.

* doc/lispref/syntax.texi (Control Parsing): Describe
`comment-end-can-be-escaped'.

* etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.

* lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
2015-12-28 16:01:05 +00:00
..
emacs Document changes in 'compare-windows' 2015-12-26 18:30:07 +02:00
lispintro ; Add some comments 2015-10-04 14:42:45 +08:00
lispref Allow line comments ending with escaped NL to be continued to the next line. 2015-12-28 16:01:05 +00:00
man Improve and document Ruby support in 'etags' 2015-12-11 11:17:31 +02:00
misc Document 'url-user-agent'. 2015-12-26 15:31:32 +02:00