From 7e7874bc9371861fc73eab79c8498a31e2cf3575 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 21 Aug 2010 01:04:01 -0400 Subject: [PATCH 1/1] Update char-is-commented to support semicolon comments. --- nagios-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ) ) -- 2.43.2