From cad2b41461c2b773f4297aad9e90aa7dab1550df Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 29 May 2005 14:38:52 +0000 Subject: [PATCH] (flyspell-auto-correct-previous-word): Undo the change that moves to end of the current word. --- lisp/ChangeLog | 14 +++++++++++--- lisp/textmodes/flyspell.el | 1 - 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 493435c96dd..7c5062261c4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-05-29 Richard M. Stallman + + * textmodes/flyspell.el (flyspell-auto-correct-previous-word): + Undo the change that moves to end of the current word. + 2005-05-29 Nick Roberts * progmodes/gdb-ui.el (gdb-memory-set-repeat-count): @@ -27,7 +32,13 @@ * progmodes/which-func.el (which-func-update-1): Turn the mode off in case of error by setting which-func-mode. + +2005-05-29 Peter Heslin (tiny change) + * flyspell.el (flyspell-auto-correct-previous-word): + Narrow down to what's on the screen, and recenter overlays + at the end of the next word. + 2005-05-29 Manuel Serrano * flyspell.el (flyspell-emacs, flyspell-use-local-map): Vars moved up. @@ -71,9 +82,6 @@ (flyspell-highlight-incorrect-region): Clean up overlays in region. (flyspell-auto-correct-word): Check that WORD is a cons. (flyspell-correct-word): Likewise. - (flyspell-auto-correct-previous-word): - Narrow down to what's on the screen, and recenter overlays - at the end of the next word. 2005-05-29 Daniel Pfeiffer diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 3175b73c22a..0b65993df3c 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -1901,7 +1901,6 @@ But don't look beyond what's visible on the screen." (save-excursion (save-restriction (narrow-to-region top bot) - (re-search-forward "\\s \\|\\'" nil t) (overlay-recenter (point)) (add-hook 'pre-command-hook -- 2.39.5