]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/bat-mode.el
* lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo.
[gnu-emacs] / lisp / progmodes / bat-mode.el
index e328cfa0d8bb6d1800653fc93cfdc328dc1306f2..266c24adccae6e570d1a79f5eb288ef899d9d013 100644 (file)
              "goto" "gtr" "if" "in" "leq" "lss" "neq" "not" "start"))
           (UNIX
            '("bash" "cat" "cp" "fgrep" "grep" "ls" "sed" "sh" "mv" "rm")))
-      `(("\\<_\\(call\\|goto\\)\\_>[ \t]+%?\\([A-Za-z0-9-_\\:.]+\\)%?"
+      `(("\\_<\\(call\\|goto\\)\\_>[ \t]+%?\\([A-Za-z0-9-_\\:.]+\\)%?"
          (2 font-lock-constant-face t))
         ("^:[^:].*"
          . 'bat-label-face)
-        ("\\<_\\(defined\\|set\\)\\_>[ \t]*\\(\\w+\\)"
+        ("\\_<\\(defined\\|set\\)\\_>[ \t]*\\(\\w+\\)"
          (2 font-lock-variable-name-face))
         ("%\\(\\w+\\)%?"
          (1 font-lock-variable-name-face))