]> gitweb.factorcode.org Git - factor.git/commitdiff
FUEL: Fix indentation in presence of trailing whitespace.
authorJose A. Ortega Ruiz <jao@gnu.org>
Thu, 19 Mar 2009 00:20:00 +0000 (01:20 +0100)
committerJose A. Ortega Ruiz <jao@gnu.org>
Thu, 19 Mar 2009 00:20:00 +0000 (01:20 +0100)
misc/fuel/fuel-syntax.el

index 4a975126ab7b75408ca9fe0dec303f33a1399d8d..4cff58ae3b33837a0252680fce0ca75af488ebdf 100644 (file)
 (defsubst fuel-syntax--is-last-char (pos)
   (save-excursion
     (goto-char (1+ pos))
-    (fuel-syntax--looking-at-emptiness)))
+    (looking-at-p "[ ]*$")))
 
 (defsubst fuel-syntax--line-offset (pos)
   (- pos (save-excursion