From: Michael Orlitzky Date: Fri, 20 Aug 2010 22:40:39 +0000 (-0400) Subject: Fixed a bug in first-char-offset affecting indentation. X-Git-Tag: v0.3~11 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=commitdiff_plain;h=ae9271f002adeb7337b826aa0e44b39d84e1a938 Fixed a bug in first-char-offset affecting indentation. --- diff --git a/nagios-mode.el b/nagios-mode.el index aae524f..90cd09f 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -68,7 +68,8 @@ ;; How far is the first character on this line ;; from the beginning of the line? (save-excursion - (+ (pos-offset) (skip-chars-forward " \t")) + (beginning-of-line) + (skip-chars-forward " \t") ) )