all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Robert Pluim <rpluim@gmail.com>
Cc: 42400@debbugs.gnu.org
Subject: bug#42400: 26.3; doc of `kill-emacs' optional ARG
Date: Thu, 16 Jul 2020 10:58:49 -0700 (PDT)	[thread overview]
Message-ID: <a49ab900-78ae-46e4-bdb8-ebc066a5039f@default> (raw)
In-Reply-To: <m2mu3zqs7j.fsf@gmail.com>

>     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.





  reply	other threads:[~2020-07-16 17:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-16 15:25 bug#42400: 26.3; doc of `kill-emacs' optional ARG Drew Adams
2020-07-16 17:34 ` Robert Pluim
2020-07-16 17:58   ` Drew Adams [this message]
2020-07-17 14:55   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a49ab900-78ae-46e4-bdb8-ebc066a5039f@default \
    --to=drew.adams@oracle.com \
    --cc=42400@debbugs.gnu.org \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.