]> git.eshelyaron.com Git - emacs.git/commit
(scheme-syntax-propertize-sexp-comment): Handle nested sexp-comments
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 1 Apr 2024 06:12:51 +0000 (02:12 -0400)
committerEshel Yaron <me@eshelyaron.com>
Tue, 2 Apr 2024 13:23:00 +0000 (15:23 +0200)
commite07cb7c32a07e319e1cdbba2159b7ec307fec8d0
tree435419b6e216d0fac9866f7f4ada3cc8ee9edd69
parent9b77421d8628dbf433dc7491c7c325cf718f7263
(scheme-syntax-propertize-sexp-comment): Handle nested sexp-comments

Well, I'm not completely sure this will work right in all cases,
because I've been confused about this in the past.
It works in my test case, at least.

* lisp/progmodes/scheme.el (scheme-syntax-propertize-sexp-comment):
Look for nested `#;` and mark them appropriately.

(cherry picked from commit 0f504dde3388687d1214182fa519354146947635)
etc/NEWS
lisp/progmodes/scheme.el