]> git.eshelyaron.com Git - emacs.git/commit
Fix documentation related to 'command-switch-alist'.
authorPhilipp Stephani <phst@google.com>
Thu, 14 May 2020 17:26:43 +0000 (19:26 +0200)
committerPhilipp Stephani <phst@google.com>
Thu, 14 May 2020 17:29:14 +0000 (19:29 +0200)
commit406fb0746c8b54869302d50b2327333769b7604b
treefb6a44b50edd627e9a031ab3f474e39c6e0b9af5
parent747e0a2523e474c76410430c40cb9b04500218d4
Fix documentation related to 'command-switch-alist'.

While there, add a unit test to verify the behavior.

* doc/lispref/os.texi (Command-Line Arguments): Fix documentation: the
option string in 'command-switch-alist' does include leading hyphens.
Also mention that 'command-switch-alist' parsing ignores equals signs
in options.

* test/lisp/startup-tests.el
(startup-tests/command-switch-alist): New unit test.
doc/lispref/os.texi
test/lisp/startup-tests.el [new file with mode: 0644]