]> git.eshelyaron.com Git - emacs.git/commit
Support variable-unquoting syntax in bat-mode
authorEli Zaretskii <eliz@gnu.org>
Thu, 15 Mar 2018 13:23:01 +0000 (15:23 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 15 Mar 2018 13:23:01 +0000 (15:23 +0200)
commit9e73c9d0384fc7593161a6c9f6805490953d7156
treea5701eab1b4ea410916f329012ba24ff8a310868
parent5c585b8b994aad4e6844f8eed80bdfbb396e91bf
Support variable-unquoting syntax in bat-mode

* lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fontify
argument numbers in %~n.  Suggested by Jostein Kjønigsen
<jostein@secure.kjonigsen.net> in emacs-devel.

* test/lisp/progmodes/bat-mode-tests.el
(bat-test-fontification-iter-var-1): Update the test to check also
the %~n construct.
lisp/progmodes/bat-mode.el
test/lisp/progmodes/bat-mode-tests.el