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: Drew Adams <drew.adams <at> oracle.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 42400 <at> debbugs.gnu.org
Subject: bug#42400: 26.3; doc of `kill-emacs' optional ARG
Date: Thu, 16 Jul 2020 10:58:49 -0700 (PDT)
>     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.

Maybe just like that?  Is this true only for `t',
or is it true for any non-string, non-number value?

However we say it, I think it should be doc'd.  Thx.




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

Previous Next


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