From: Eli Zaretskii <eliz@gnu.org>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: 35238@debbugs.gnu.org, monnier@IRO.UMontreal.CA
Subject: bug#35238: 27.0.50; Clarify eventp behaviour with booleans
Date: Fri, 12 Apr 2019 15:30:42 +0300 [thread overview]
Message-ID: <83bm1bmmml.fsf@gnu.org> (raw)
In-Reply-To: <87y34fscl6.fsf@tcd.ie> (contovob@tcd.ie)
> From: "Basil L. Contovounesios" <contovob@tcd.ie>
> Date: Fri, 12 Apr 2019 12:11:01 +0100
> Cc: 35238@debbugs.gnu.org
>
> -(defun eventp (obj)
> - "True if the argument is an event object."
> - (when obj
> - (or (integerp obj)
> - (and (symbolp obj) obj (not (keywordp obj)))
> - (and (consp obj) (symbolp (car obj))))))
> +(defun eventp (object)
> + "Return non-nil if OBJECT is an input event or event object."
> + (or (integerp object)
> + (and (symbolp (if (consp object)
> + (setq object (car object))
> + object))
> + (not (keywordp object)))))
Please make sure the ELisp manual is kept in sync. Also, does this
need to be called out in NEWS?
next prev parent reply other threads:[~2019-04-12 12:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-11 22:42 bug#35238: 27.0.50; Clarify eventp behaviour with booleans Basil L. Contovounesios
2019-04-11 23:42 ` Stefan Monnier
2019-04-12 11:11 ` Basil L. Contovounesios
2019-04-12 12:25 ` Stefan Monnier
2019-04-12 12:30 ` Eli Zaretskii [this message]
2019-04-13 17:53 ` Basil L. Contovounesios
2019-04-14 3:13 ` Stefan Monnier
2019-04-22 23:19 ` Basil L. Contovounesios
2019-04-23 2:06 ` Stefan Monnier
2019-05-07 17:08 ` Basil L. Contovounesios
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=83bm1bmmml.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=35238@debbugs.gnu.org \
--cc=contovob@tcd.ie \
--cc=monnier@IRO.UMontreal.CA \
/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.