(lisp-mode-variables): Set comment-start-skip to ignore backslash-quoted
semicolons.
This commit is contained in:
parent
51a2264fb5
commit
e56a043b86
1 changed files with 3 additions and 1 deletions
|
@ -119,7 +119,9 @@
|
|||
(make-local-variable 'comment-start)
|
||||
(setq comment-start ";")
|
||||
(make-local-variable 'comment-start-skip)
|
||||
(setq comment-start-skip ";+ *")
|
||||
;; 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]\\)\\(\\\\\\\\\\)*\\);+ *")
|
||||
(make-local-variable 'comment-column)
|
||||
(setq comment-column 40)
|
||||
(make-local-variable 'comment-indent-function)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue