GNU bug report logs - #42400
26.3; doc of `kill-emacs' optional ARG

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Thu, 16 Jul 2020 15:27:01 UTC

Severity: minor

Found in version 26.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 42400 <at> debbugs.gnu.org
Subject: bug#42400: 26.3; doc of `kill-emacs' optional ARG
Date: Thu, 16 Jul 2020 19:34:40 +0200
>>>>> On Thu, 16 Jul 2020 08:25:55 -0700 (PDT), Drew Adams <drew.adams <at> oracle.com> said:

    Drew> Both the Emacs and Elisp manuals describe the behavior of ARG as an
    Drew> integer or a string.  But what about anything else?

    Drew> In `startup.el', `edt-mapper.el', and `tpu-edt.el', for example, we find
    Drew> (kill-emacs t).  How is someone to understand this code?

Itʼs equivalent to exit'ing with EXIT_SUCCESS, without having to worry
about the value of '0' on your platform :-) Not sure how weʼd express
that in the docstring.

Robert




This bug report was last modified 4 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.