* simple.el (line-move-1): During fields during motion to the

beginning of line to avoid getting point stuck.
This commit is contained in:
Chong Yidong 2006-10-18 04:58:29 +00:00
parent 7b7341f8c6
commit ac6701ea5c
2 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-10-18 Chong Yidong <cyd@stupidchicken.com>
* simple.el (line-move-1): During fields during motion to the
beginning of line to avoid getting point stuck.
2006-10-18 Martin Rudalics <rudalics@gmx.at>
* textmodes/flyspell.el (flyspell-word-search-backward): Set

View file

@ -3625,7 +3625,14 @@ Outline mode sets this."
;; The logic of this is the same as the loop above,
;; it just goes in the other direction.
(while (and (< arg 0) (not done))
(beginning-of-line)
;; For completely consistency with the forward-motion
;; case, we should call beginning-of-line here.
;; However, if point is inside a field and on a
;; continued line, the call to (vertical-motion -1)
;; below won't move us back far enough; then we return
;; to the same column in line-move-finish, and point
;; gets stuck -- cyd
(forward-line 0)
(cond
((bobp)
(if (not noerror)