]> git.eshelyaron.com Git - emacs.git/commit
yes-or-no-p now uses blankp rather than SYNTAX
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Sep 2024 16:18:29 +0000 (09:18 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Sep 2024 10:45:14 +0000 (12:45 +0200)
commite2a63dc0d83c18ec71d151a2476478f4b48f57ba
treee8e025ce412b0d35fbd12f1e968c2b9cfd05ad5b
parent3e99658ee9e1a2f38d7fe793f64671b027fb7200
yes-or-no-p now uses blankp rather than SYNTAX

* src/fns.c: Do not include syntax.h; no longer needed.
(Fyes_or_no_p): Use blankp rather than SYNTAX to check whether the
prompt ends in nonspace.  That way, the test doesn’t depend on the
current buffer.

(cherry picked from commit 6d507d586a7ae2ab2caf32e32f2ae6134a90b1bd)
src/fns.c