X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=nagios-mode.el;h=a284c621ae9963448ef533c3110cab14f52d4d2f;hb=60bd3688e6a238c56f1eaf94aba651023786d40c;hp=291b0eb0c006f7e89f9134122043d691c2779f9f;hpb=ec7589a5032f9f156e46fbb77babaa9ac391a818;p=nagios-mode.git diff --git a/nagios-mode.el b/nagios-mode.el index 291b0eb..a284c62 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -292,6 +292,7 @@ (kill-all-local-variables) (make-local-variable 'font-lock-defaults) (make-local-variable 'comment-start) + (make-local-variable 'comment-start-skip) (make-local-variable 'comment-end) (make-local-variable 'indent-line-function) @@ -302,6 +303,7 @@ indent-line-function 'nagios-indent-line font-lock-defaults '(nagios-font-lock-keywords) comment-start "#" + comment-start-skip "#\|; +" comment-end "" )