Fixed a bug in first-char-offset affecting indentation.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 20 Aug 2010 22:40:39 +0000 (18:40 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 20 Aug 2010 22:40:39 +0000 (18:40 -0400)
nagios-mode.el

index aae524f2a77d72955d020d4824e794afd017d470..90cd09f779c22f0e09b6f00709187a3edc223479 100644 (file)
@@ -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")
   )
 )