]> code.delx.au - gnu-emacs/blobdiff - lisp/wdired.el
Fix problems caused by new implementation of sub-word mode
[gnu-emacs] / lisp / wdired.el
index 9f258794f96eff17525557aa5c557463230338cd..795e50d16d5ee9f2fdb2c2cb4208f53aff9d122c 100644 (file)
@@ -666,7 +666,7 @@ If OLD, return the old target.  If MOVE, move point before it."
             (funcall command 1)
             (setq arg (1- arg)))
         (error
-         (if (forward-word)
+         (if (forward-word-strictly)
             ;; Skip any non-word characters to avoid triggering a read-only
             ;; error which would cause skipping the next word characters too.
             (skip-syntax-forward "^w")