X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/68ed6bfb6599104e5f1635a862a373735d818722..5deebc3c914c86e84d11661a7877c00b2d7fddd1:/lisp/progmodes/mantemp.el diff --git a/lisp/progmodes/mantemp.el b/lisp/progmodes/mantemp.el index 913849df32..ea9d400dd9 100644 --- a/lisp/progmodes/mantemp.el +++ b/lisp/progmodes/mantemp.el @@ -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."