]> 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)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:17:30 +0000 (14:17 +0800)
commitdca8b75f7489b594c831aa86cda8c196c99c1073
tree137203921e9f6dcc464e1da584f05a8a3a0e133a
parenta3e7de95e4c68f2565e18cb1cbabb52cec1ba62b
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