From 2b2a805016e4cf9eae7c4258d2a3d5402420a752 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 20 Aug 2010 23:44:37 -0400 Subject: [PATCH] Fix the brace-on-line function. --- nagios-mode.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nagios-mode.el b/nagios-mode.el index 8482abe..3774001 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -154,10 +154,12 @@ (defun brace-on-line() ;; Is there a curly brace on this line? (save-excursion + (beginning-of-line) (re-search-forward "[{}]" (end-of-line-pos) t) ) ) + (defun nagios-calculate-indent() "Calculate the level of indentation." -- 2.43.2