bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40653: 28.0.50; (fset 'yes-or-no-p 'y-or-n-p) has no effect in nativ


From: Andrey Orst
Subject: bug#40653: 28.0.50; (fset 'yes-or-no-p 'y-or-n-p) has no effect in native-comp branch
Date: Thu, 16 Apr 2020 11:21:19 +0300

On master branch the `fset` command does what expected - prompts that ask for `yes` or `no` changed to ask `y` or `n`. On native-comp branch however it has no effect and all prompts still ask for `yes` or `no` after `fset` call.

On Thu, Apr 16, 2020 at 11:18 AM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Andrey Orst <andreyorst@gmail.com>
> Date: Thu, 16 Apr 2020 10:59:12 +0300
>
> Call `emacs -q` do `M-x ansi-term RET` try to kill buffer - a prompt
> with `yes` or `no` will be provided. Cancel and call `M-: (fset
> 'yes-or-no-p 'y-or-n-p) RET`, and try to kill ansi-term buffer
> again. Prompt will still ask to input `yes` or `no` instead of `y` or
> `n`. Works in master branch of Emacs run with `-q`.

I'm not sure I understand the issue.  The last sentence seems to say
this works as expected on the master branch?  That is, the prompt does
ask to input 'y' or 'n', right?  Because that's what I see with
today's master.


--
Best regards,
Andrey Orst

reply via email to

[Prev in Thread] Current Thread [Next in Thread]