diff options
| author | Glenn Morris | 2020-05-16 10:29:14 -0700 |
|---|---|---|
| committer | Glenn Morris | 2020-05-16 10:29:14 -0700 |
| commit | 788c2480f448e97773172f3e840976dbcdc3e6c8 (patch) | |
| tree | 60d3425a657e682da7790fc5f0d2548995721ef2 /doc/lispref | |
| parent | a67415a71a1be5419547ac5e2abe51bc6bb37f1d (diff) | |
| parent | b4937f64cd97ff6bf93538987c014f8ea8ff9d34 (diff) | |
| download | emacs-788c2480f448e97773172f3e840976dbcdc3e6c8.tar.gz emacs-788c2480f448e97773172f3e840976dbcdc3e6c8.zip | |
Merge from origin/emacs-27
b4937f64cd (origin/emacs-27) Improve documentation of manually instal...
efd4e973a4 Reflect the emacs-devel ELPA/MELPA dispute in FAQ
28541674cd Consider face inheritance when checking region face backgr...
e75f6be6cc Fix dired default file operation (bug#41261)
406fb0746c Fix documentation related to 'command-switch-alist'.
747e0a2523 Improve ediff readability in misterioso theme (Bug#41221)
48830c73e7 Fix a crash in handle_display_spec
a37290a6f9 In x_hide_tip reset tip_last_frame for GTK+ tooltips only ...
3d81995692 Fix docstring of flymake-make-diagnostic (bug#40351)
632aa9d57a Go back to “Bahá’í”
e2406ff60f * lisp/dired.el (dired-toggle-marks): Doc fix. (Bug#41097)
# Conflicts:
# doc/emacs/building.texi
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/os.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 8bf48b1dbba..8f2c7439d9f 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -613,7 +613,7 @@ The elements of the @code{command-switch-alist} look like this: | |||
| 613 | @end example | 613 | @end example |
| 614 | 614 | ||
| 615 | The @sc{car}, @var{option}, is a string, the name of a command-line | 615 | The @sc{car}, @var{option}, is a string, the name of a command-line |
| 616 | option (not including the initial hyphen). The @var{handler-function} | 616 | option (including the initial hyphen). The @var{handler-function} |
| 617 | is called to handle @var{option}, and receives the option name as its | 617 | is called to handle @var{option}, and receives the option name as its |
| 618 | sole argument. | 618 | sole argument. |
| 619 | 619 | ||
| @@ -623,6 +623,14 @@ remaining command-line arguments in the variable | |||
| 623 | @code{command-line-args-left} (see below). (The entire list of | 623 | @code{command-line-args-left} (see below). (The entire list of |
| 624 | command-line arguments is in @code{command-line-args}.) | 624 | command-line arguments is in @code{command-line-args}.) |
| 625 | 625 | ||
| 626 | Note that the handling of @code{command-switch-alist} doesn't treat | ||
| 627 | equals signs in @var{option} specially. That is, if there's an option | ||
| 628 | like @code{--name=value} on the command line, then only a | ||
| 629 | @code{command-switch-alist} member whose @code{car} is literally | ||
| 630 | @code{--name=value} will match this option. If you want to parse such | ||
| 631 | options, you need to use @code{command-line-functions} instead (see | ||
| 632 | below). | ||
| 633 | |||
| 626 | The command-line arguments are parsed by the @code{command-line-1} | 634 | The command-line arguments are parsed by the @code{command-line-1} |
| 627 | function in the @file{startup.el} file. See also @ref{Emacs | 635 | function in the @file{startup.el} file. See also @ref{Emacs |
| 628 | Invocation, , Command Line Arguments for Emacs Invocation, emacs, The | 636 | Invocation, , Command Line Arguments for Emacs Invocation, emacs, The |