]> code.delx.au - gnu-emacs/blobdiff - lisp/mail/mail-extr.el
Fix problems caused by new implementation of sub-word mode
[gnu-emacs] / lisp / mail / mail-extr.el
index 9dc3af6ab65875566aa500de364013031a52193f..4f3e71d34b8b66d4e9bad517899ed703c709d6e0 100644 (file)
@@ -880,7 +880,7 @@ consing a string.)"
                       (and (not (eobp))
                            (eq ?w (char-syntax (char-after)))
                            (progn
-                             (forward-word 1)
+                             (forward-word-strictly 1)
                              (and (not (eobp))
                                   (> (char-after) ?\177)
                                   (not (eq (char-after) ? )))))))))
@@ -1312,7 +1312,7 @@ consing a string.)"
                     )
                    (t
                     (setq atom-beg (point))
-                    (forward-word 1)
+                    (forward-word-strictly 1)
                     (setq atom-end (point))
                     (goto-char atom-beg)
                     (save-restriction