unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: 42400@debbugs.gnu.org
Subject: bug#42400: 26.3; doc of `kill-emacs' optional ARG
Date: Thu, 16 Jul 2020 19:34:40 +0200	[thread overview]
Message-ID: <m2mu3zqs7j.fsf@gmail.com> (raw)
In-Reply-To: <2427f02d-3cbe-45f6-a66e-dd36d33b9df3@default> (Drew Adams's message of "Thu, 16 Jul 2020 08:25:55 -0700 (PDT)")

>>>>> On Thu, 16 Jul 2020 08:25:55 -0700 (PDT), Drew Adams <drew.adams@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





  reply	other threads:[~2020-07-16 17:34 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 [this message]
2020-07-16 17:58   ` Drew Adams
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m2mu3zqs7j.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=42400@debbugs.gnu.org \
    --cc=drew.adams@oracle.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).