emacs-devel
[Top][All Lists]
Advanced

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

Re: master 297c0e0: New variable 'use-short-answers' to use 'y-or-n-p' i


From: Stefan Kangas
Subject: Re: master 297c0e0: New variable 'use-short-answers' to use 'y-or-n-p' instead of 'yes-or-no-p'
Date: Thu, 25 Feb 2021 13:02:29 -0600

juri@jurta.org (Juri Linkov) writes:

> branch: master
> commit 297c0e0306f111c1e7564b2bb49a7e1a925a55bb
> Author: Juri Linkov <juri@linkov.net>
> Commit: Juri Linkov <juri@linkov.net>
>
>     New variable 'use-short-answers' to use 'y-or-n-p' instead of 
> 'yes-or-no-p'

Good idea, thanks.

> +  if (use_short_answers)
> +    {
> +      return call1 (intern ("y-or-n-p"), prompt);
> +    }
> +

Just a nit: you don't need to wrap single statements in "{ ... }".



reply via email to

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