nsis-mode.el
changeset 847 d38ced086516
parent 708 659c1d14b849
child 1250 73c10c73c63f
equal deleted inserted replaced
846:357f5c6bb23d 847:d38ced086516
    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 ?\; ?# '("/*" . "*/"))