equal
deleted
inserted
replaced
21 (modify-syntax-entry ?. "w") |
21 (modify-syntax-entry ?. "w") |
22 (modify-syntax-entry ?$ ".") |
22 (modify-syntax-entry ?$ ".") |
23 ) |
23 ) |
24 |
24 |
25 (defun nsis-mode-set-comment-style () |
25 (defun nsis-mode-set-comment-style () |
26 (setq comment-start "; ") |
26 (set (make-local-variable 'comment-start) "; ") |
27 (setq comment-end "") |
27 (set (make-local-variable 'comment-continue) nil) |
|
28 (set (make-local-variable 'comment-end) "") |
|
29 (set (make-local-variable 'comment-end-skip) nil) |
|
30 (set (make-local-variable 'comment-multi-line) nil) |
|
31 (set (make-local-variable 'comment-use-syntax) t) |
28 ) |
32 ) |
29 |
33 |
30 ;;;###autoload |
34 ;;;###autoload |
31 (define-generic-mode nsis-mode |
35 (define-generic-mode nsis-mode |
32 (list ?\; ?# '("/*" . "*/")) |
36 (list ?\; ?# '("/*" . "*/")) |