]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/f90.el
Fix problems caused by new implementation of sub-word mode
[gnu-emacs] / lisp / progmodes / f90.el
index 588f4d99d78eea3af5f26eb7e32b9e03d4c78d7e..58397530e4fa7aeebddbb963293fd1de4a4a7bf8 100644 (file)
@@ -2355,7 +2355,8 @@ CHANGE-WORD should be one of `upcase-word', `downcase-word', `capitalize-word'."
               (setq ref-point (point)
                     ;; FIXME this does not work for constructs with
                     ;; embedded space, eg "sync all".
-                    back-point (save-excursion (backward-word 1) (point))
+                    back-point (save-excursion (backward-word-strictly 1)
+                                               (point))
                     saveword (buffer-substring back-point ref-point))
               (funcall change-word -1)
               (or (string= saveword (buffer-substring back-point ref-point))