(beginning-of-line-text): Check adaptive-fill-regexp is non-nil.
authorRichard M. Stallman <rms@gnu.org>
Wed, 6 Mar 1996 19:12:58 +0000 (19:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 6 Mar 1996 19:12:58 +0000 (19:12 +0000)
lisp/indent.el

index 2690d2f..89c7547 100644 (file)
@@ -264,7 +264,7 @@ line, but does not move past any whitespace that was explicitly inserted
                 (buffer-substring 
                  (point) (min (point-max) (+ (length fill-prefix) (point)))))
          (forward-char (length fill-prefix)))
-    (if (and adaptive-fill-mode 
+    (if (and adaptive-fill-mode adaptive-fill-regexp
             (looking-at adaptive-fill-regexp))
        (goto-char (match-end 0))))
   ;; Skip centering or flushright indentation