aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/simple.el9
2 files changed, 13 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 551c17b8dda..1bd965b677d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-10-18 Chong Yidong <cyd@stupidchicken.com>
2
3 * simple.el (line-move-1): During fields during motion to the
4 beginning of line to avoid getting point stuck.
5
12006-10-18 Martin Rudalics <rudalics@gmx.at> 62006-10-18 Martin Rudalics <rudalics@gmx.at>
2 7
3 * textmodes/flyspell.el (flyspell-word-search-backward): Set 8 * textmodes/flyspell.el (flyspell-word-search-backward): Set
diff --git a/lisp/simple.el b/lisp/simple.el
index 6655539a618..0d16e6a79eb 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3625,7 +3625,14 @@ Outline mode sets this."
3625 ;; The logic of this is the same as the loop above, 3625 ;; The logic of this is the same as the loop above,
3626 ;; it just goes in the other direction. 3626 ;; it just goes in the other direction.
3627 (while (and (< arg 0) (not done)) 3627 (while (and (< arg 0) (not done))
3628 (beginning-of-line) 3628 ;; For completely consistency with the forward-motion
3629 ;; case, we should call beginning-of-line here.
3630 ;; However, if point is inside a field and on a
3631 ;; continued line, the call to (vertical-motion -1)
3632 ;; below won't move us back far enough; then we return
3633 ;; to the same column in line-move-finish, and point
3634 ;; gets stuck -- cyd
3635 (forward-line 0)
3629 (cond 3636 (cond
3630 ((bobp) 3637 ((bobp)
3631 (if (not noerror) 3638 (if (not noerror)