]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/semantic/texi.el
Fix problems caused by new implementation of sub-word mode
[gnu-emacs] / lisp / cedet / semantic / texi.el
index 8b4f6f4e14b937dbc094e92beb600a149af477e8..cbb7705f9d1d88761471c367fd4b8ee12c566f7d 100644 (file)
@@ -258,7 +258,7 @@ can handle the @menu environment.")
        (when (not parenthetical)
          ;; We are in parentheses.  Are they the types of parens
          ;; belonging to a texinfo construct?
-         (forward-word -1)
+         (forward-word-strictly -1)
          (when (looking-at "@\\w+{")
            (setq done (point))))))
     ;; If we are not in a parenthetical node, then find a block instead.
@@ -287,7 +287,7 @@ can handle the @menu environment.")
       ;; If we can't go up, we can't do this either.
       t
     ;; We moved, so now we need to skip into whatever this thing is.
-    (forward-word 1) ;; skip the command
+    (forward-word-strictly 1) ;; skip the command
     (if (looking-at "\\s-*{")
        ;; In a short command.  Go in.
        (down-list 1)