# HG changeset patch # User Oleksandr Gavenko # Date 1324410323 -7200 # Node ID d38ced086516d9c14e26b8a218621b817283b01d # Parent 357f5c6bb23d1e0410acbd4d699a344c7916dd67 Customise more variables for comment highlighting. diff -r 357f5c6bb23d -r d38ced086516 nsis-mode.el --- a/nsis-mode.el Tue Dec 20 21:12:34 2011 +0200 +++ b/nsis-mode.el Tue Dec 20 21:45:23 2011 +0200 @@ -23,8 +23,12 @@ ) (defun nsis-mode-set-comment-style () - (setq comment-start "; ") - (setq comment-end "") + (set (make-local-variable 'comment-start) "; ") + (set (make-local-variable 'comment-continue) nil) + (set (make-local-variable 'comment-end) "") + (set (make-local-variable 'comment-end-skip) nil) + (set (make-local-variable 'comment-multi-line) nil) + (set (make-local-variable 'comment-use-syntax) t) ) ;;;###autoload