From: Richard M. Stallman Date: Thu, 2 Feb 2006 04:21:10 +0000 (+0000) Subject: (move-beginning-of-line): Scan properly for invis change. X-Git-Tag: emacs-pretest-22.0.90~4442 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=621a4cc83ad94f4a51acff5acc50f6c83c0c5ad1;p=emacs.git (move-beginning-of-line): Scan properly for invis change. --- diff --git a/lisp/simple.el b/lisp/simple.el index 647a57cbe6b..d0fecbc3586 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3743,7 +3743,7 @@ To ignore intangibility, bind `inhibit-point-motion-hooks' to t." ;; Move to beginning-of-line, ignoring fields and invisibles. (skip-chars-backward "^\n") (while (and (not (bobp)) (line-move-invisible-p (1- (point)))) - (goto-char (previous-char-property-change (1- (point)))) + (goto-char (previous-char-property-change (point))) (skip-chars-backward "^\n")) ;; Take care of fields.