branch: externals/csv-mode commit 4ae5096ed1be35928a8361ed6ed35463697dfc65 Author: Stefan Monnier <monn...@iro.umontreal.ca> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
* csv-mode.el (csv-end-of-field): Expand comment --- csv-mode.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/csv-mode.el b/csv-mode.el index 5e29a9b..7b9c915 100644 --- a/csv-mode.el +++ b/csv-mode.el @@ -674,8 +674,9 @@ point or marker arguments, BEG and END, delimiting the region." (while (not ended) (cond ((not (eq (char-syntax (following-char)) ?\")) (forward-char 1)) - ;; Quotes inside quoted strings are quoted by doubling - ;; the quote char: a,"b""c,",d + ;; According to RFC-4180 (sec 2.7), quotes inside quoted strings + ;; are quoted by doubling the quote char: a,"b""c,",d + ;; FIXME: Maybe we should handle this via syntax-propertize? ((eq (char-syntax (char-after (1+ (point)))) ?\") (forward-char 2)) (t