1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(scheme-mode-variables): Set comment-start-skip to ignore backslash-quoted

semicolons.
This commit is contained in:
Miles Bader 1996-07-04 05:45:55 +00:00
parent e56a043b86
commit a24c42f7ff

View File

@ -104,7 +104,9 @@
(make-local-variable 'comment-start)
(setq comment-start ";")
(make-local-variable 'comment-start-skip)
(setq comment-start-skip ";+[ \t]*")
;; Look within the line for a ; following an even number of backslashes
;; after either a non-backslash or the line beginning.
(setq comment-start-skip "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+[ \t]*")
(make-local-variable 'comment-column)
(setq comment-column 40)
(make-local-variable 'comment-indent-function)