Mercurial > emacs
comparison lisp/emacs-lisp/lisp-mode.el @ 15597:ca84d7021f4e
(lisp-mode-variables): Set comment-start-skip to ignore backslash-quoted
semicolons.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 04 Jul 1996 05:45:50 +0000 |
parents | cdd8a024f000 |
children | b8f9fd9e47fa |
comparison
equal
deleted
inserted
replaced
15596:7d29420c2fec | 15597:ca84d7021f4e |
---|---|
117 (make-local-variable 'outline-regexp) | 117 (make-local-variable 'outline-regexp) |
118 (setq outline-regexp ";;; \\|(....") | 118 (setq outline-regexp ";;; \\|(....") |
119 (make-local-variable 'comment-start) | 119 (make-local-variable 'comment-start) |
120 (setq comment-start ";") | 120 (setq comment-start ";") |
121 (make-local-variable 'comment-start-skip) | 121 (make-local-variable 'comment-start-skip) |
122 (setq comment-start-skip ";+ *") | 122 ;; Look within the line for a ; following an even number of backslashes |
123 ;; after either a non-backslash or the line beginning. | |
124 (setq comment-start-skip "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *") | |
123 (make-local-variable 'comment-column) | 125 (make-local-variable 'comment-column) |
124 (setq comment-column 40) | 126 (setq comment-column 40) |
125 (make-local-variable 'comment-indent-function) | 127 (make-local-variable 'comment-indent-function) |
126 (setq comment-indent-function 'lisp-comment-indent) | 128 (setq comment-indent-function 'lisp-comment-indent) |
127 (make-local-variable 'imenu-generic-expression) | 129 (make-local-variable 'imenu-generic-expression) |