diff options
| author | Eli Zaretskii | 2026-02-28 16:10:08 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2026-02-28 16:10:08 +0200 |
| commit | b540c45bc53d66c3869e049e6577b275c446a87f (patch) | |
| tree | 31f3c335094eec487dc5ef02b0753900de32cc5f /src | |
| parent | a9a03cf35ef4f4bb3a75daffaa93e620f808db0f (diff) | |
| download | emacs-master.tar.gz emacs-master.zip | |
* src/emacs.c (Fkill_emacs):
* doc/lispref/os.texi (Killing Emacs): Document that EXIT-DATA
being a string doesn't always work. (Bug#80435)
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c index 17c56986083..777ade9d825 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -2947,7 +2947,9 @@ sort_args (int argc, char **argv) | |||
| 2947 | DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 2, "P", | 2947 | DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 2, "P", |
| 2948 | doc: /* Exit the Emacs job and kill it. | 2948 | doc: /* Exit the Emacs job and kill it. |
| 2949 | If ARG is an integer, return ARG as the exit program code. | 2949 | If ARG is an integer, return ARG as the exit program code. |
| 2950 | If ARG is a string, stuff it as keyboard input. | 2950 | If ARG is a string, stuff it as keyboard input. (This might |
| 2951 | not work on modern systems due to security considerations, or | ||
| 2952 | not at all.) | ||
| 2951 | Any other value of ARG, or ARG omitted, means return an | 2953 | Any other value of ARG, or ARG omitted, means return an |
| 2952 | exit code that indicates successful program termination. | 2954 | exit code that indicates successful program termination. |
| 2953 | 2955 | ||