]> git.eshelyaron.com Git - emacs.git/commit
Support shebang lines with amended environment
authorKévin Le Gouguec <kevin.legouguec@gmail.com>
Sat, 10 Feb 2024 16:56:57 +0000 (17:56 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 17 Feb 2024 13:03:15 +0000 (14:03 +0100)
commit057879ea4836d55d12731bb8a0a0a2ccf05e4838
tree976dfd7b1f9579870ca887fe4abd6faf286186b3
parente4beecd91648b1742beac769a7d2c99f070e8f6d
Support shebang lines with amended environment

For bug#64939.

* lisp/files.el (auto-mode-interpreter-regexp): Account for possible
VARIABLE=[VALUE] operands.
* test/lisp/files-tests.el (files-tests-auto-mode-interpreter):
Add an example from the coreutils manual.

(cherry picked from commit c64e650fb346d92294703d22f8cd7deb7c47b49e)
lisp/files.el
test/lisp/files-tests.el