X-Git-Url: http://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=blobdiff_plain;f=nagios-mode.el;fp=nagios-mode.el;h=377400172a2cf08b2123314612205d95d2a52be1;hp=8482abee94e397159ff728546d5a8d9c39d52d84;hb=2b2a805016e4cf9eae7c4258d2a3d5402420a752;hpb=a55f0340c8c83de79772f262ddad72e38b041a79 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."