aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorKévin Le Gouguec2024-02-10 17:37:35 +0100
committerEli Zaretskii2024-02-17 10:31:14 +0200
commitecb9641ecb5f42899042ff9c164ec7dbb8e166fe (patch)
treea07f79c3c309488ed5d7c90760759d15f6974250 /java
parentde6f7f3c86ea0e52e8f9825585c726a7f93fa9cf (diff)
downloademacs-ecb9641ecb5f42899042ff9c164ec7dbb8e166fe.tar.gz
emacs-ecb9641ecb5f42899042ff9c164ec7dbb8e166fe.zip
Support more complex env invocations in shebang lines
This is not an exact re-implementation of what env accepts, but hopefully it should be "good enough". Example of known limitation: we assume that arguments for --long-options will be set with '=', but that is not necessarily the case. '--unset' (mandatory argument) can be passed as '--unset=VAR' or '--unset VAR', but '--default-signal' (optional argument) requires an '=' sign. For bug#64939. * lisp/files.el (auto-mode-interpreter-regexp): Account for supplementary arguments passed beside -S/--split-string. * test/lisp/files-tests.el (files-tests-auto-mode-interpreter): Test some of these combinations.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions