From: Michael Orlitzky Date: Sat, 21 Aug 2010 03:44:37 +0000 (-0400) Subject: Fix the brace-on-line function. X-Git-Tag: v0.3~7 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2b2a805016e4cf9eae7c4258d2a3d5402420a752;p=nagios-mode.git Fix the brace-on-line function. --- 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."