]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/mantemp.el
* lisp/simple.el (shell-command): Add save-match-data comment
[gnu-emacs] / lisp / progmodes / mantemp.el
index 913849df324c8821d8871f0ad6e65d7ace1f42e0..ea9d400dd9e01683c4fa686a894df4c842be08f0 100644 (file)
@@ -157,8 +157,8 @@ the lines."
            "^template class [A-z :&*<>~=,0-9+!]*(" nil t nil)
       (progn
        (beginning-of-line)
-       (forward-word 1)
-       (delete-region (point) (progn (forward-word 1) (point)))))))
+       (forward-word-strictly 1)
+       (delete-region (point) (progn (forward-word-strictly 1) (point)))))))
 
 (defun mantemp-make-mantemps ()
   "Gathering interface to the functions modifying the buffer."