aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/simple.el6
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3a838762a1b..98df632bf89 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (move-beginning-of-line): Make sure we don't move forward
4 (bug#16497).
5
12014-01-20 Juri Linkov <juri@jurta.org> 62014-01-20 Juri Linkov <juri@jurta.org>
2 7
3 * saveplace.el (toggle-save-place, save-place-to-alist) 8 * saveplace.el (toggle-save-place, save-place-to-alist)
diff --git a/lisp/simple.el b/lisp/simple.el
index ef965aa6fe5..8e23b0804ca 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -5534,9 +5534,9 @@ To ignore intangibility, bind `inhibit-point-motion-hooks' to t."
5534 (goto-char (previous-char-property-change (point))) 5534 (goto-char (previous-char-property-change (point)))
5535 (skip-chars-backward "^\n")) 5535 (skip-chars-backward "^\n"))
5536 5536
5537 ;; Now find first visible char in the line 5537 ;; Now find first visible char in the line.
5538 (while (and (not (eobp)) (invisible-p (point))) 5538 (while (and (< (point) orig) (invisible-p (point)))
5539 (goto-char (next-char-property-change (point)))) 5539 (goto-char (next-char-property-change (point) orig)))
5540 (setq first-vis (point)) 5540 (setq first-vis (point))
5541 5541
5542 ;; See if fields would stop us from reaching FIRST-VIS. 5542 ;; See if fields would stop us from reaching FIRST-VIS.