X-Git-Url: http://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=blobdiff_plain;f=nagios-mode.el;fp=nagios-mode.el;h=097e331e6aef5f628dbb24ddf844c084c3b7dc76;hp=71cc5a008f9480cbdf11a33ce0970e4198008284;hb=7e7874bc9371861fc73eab79c8498a31e2cf3575;hpb=0bb72302ca198a922c09e0a04f87be9cabc2efea diff --git a/nagios-mode.el b/nagios-mode.el index 71cc5a0..097e331 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -119,7 +119,7 @@ "True if the character at position pos is commented, nil otherwise." (save-excursion (goto-char pos) - (re-search-backward "#" (nagios-beginning-of-line-pos) t) + (re-search-backward "\\(#\\|;\\)" (nagios-beginning-of-line-pos) t) ) )