aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-03-06 19:12:58 +0000
committerRichard M. Stallman1996-03-06 19:12:58 +0000
commit7d43e2ad65cf2d86b1e6323c20d219903bfe5f2d (patch)
tree4a4ee383177cca8c33e94d69df53ae8157c777a0
parent766052779be3f23e72f82b38bc1ef5a46b07215c (diff)
downloademacs-7d43e2ad65cf2d86b1e6323c20d219903bfe5f2d.tar.gz
emacs-7d43e2ad65cf2d86b1e6323c20d219903bfe5f2d.zip
(beginning-of-line-text): Check adaptive-fill-regexp is non-nil.
-rw-r--r--lisp/indent.el2
1 files changed, 1 insertions, 1 deletions
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
264 (buffer-substring 264 (buffer-substring
265 (point) (min (point-max) (+ (length fill-prefix) (point))))) 265 (point) (min (point-max) (+ (length fill-prefix) (point)))))
266 (forward-char (length fill-prefix))) 266 (forward-char (length fill-prefix)))
267 (if (and adaptive-fill-mode 267 (if (and adaptive-fill-mode adaptive-fill-regexp
268 (looking-at adaptive-fill-regexp)) 268 (looking-at adaptive-fill-regexp))
269 (goto-char (match-end 0)))) 269 (goto-char (match-end 0))))
270 ;; Skip centering or flushright indentation 270 ;; Skip centering or flushright indentation