From 7d43e2ad65cf2d86b1e6323c20d219903bfe5f2d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 6 Mar 1996 19:12:58 +0000 Subject: [PATCH] (beginning-of-line-text): Check adaptive-fill-regexp is non-nil. --- lisp/indent.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/indent.el b/lisp/indent.el index 2690d2f86d4..89c75472bc3 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -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 -- 2.39.5