]> gitweb.michael.orlitzky.com - nagios-mode.git/blobdiff - nagios-mode.el
Fixed a bug in first-char-offset affecting indentation.
[nagios-mode.git] / 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
   ;; 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")
   )
 )
 
   )
 )