]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/hideif.el
Fix problems caused by new implementation of sub-word mode
[gnu-emacs] / lisp / progmodes / hideif.el
index 8a87eb9770ac1dcf42382496b2ea12d4634b4d69..6b5f51a3fbd6d4ea62f75d6cbd6bbcb4e715ac70 100644 (file)
@@ -1828,7 +1828,7 @@ This allows #ifdef VAR to be hidden."
    (let* ((default (save-excursion
                      (beginning-of-line)
                      (cond ((looking-at hif-ifx-else-endif-regexp)
-                            (forward-word 2)
+                            (forward-word-strictly 2)
                             (current-word 'strict))
                            (t
                             nil))))