* lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo.
Reported by Arni Magnusson <arnima@hafro.is>. * lisp/progmodes/prolog.el (prolog-electric--underscore): Same. Fixes: debbugs:18622
This commit is contained in:
parent
ad1ababf7f
commit
4b9d951ee1
3 changed files with 9 additions and 3 deletions
|
@ -3139,7 +3139,7 @@ the following comma and whitespace, if any."
|
|||
(eq (char-before) ?_)
|
||||
(save-excursion
|
||||
(skip-chars-backward "[:alpha:]_")
|
||||
(looking-at "\\<_[_[:upper:]][[:alnum:]_]*\\_>")))
|
||||
(looking-at "\\_<[_[:upper:]][[:alnum:]_]*\\_>")))
|
||||
(replace-match "_")
|
||||
(skip-chars-forward ", \t\n")))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue