emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 885c512: Fix a bug in 'generate-new-buffer-name


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 885c512: Fix a bug in 'generate-new-buffer-name'
Date: Sat, 05 Aug 2017 08:51:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> -  if (!NILP (Fstring_equal (name, ignore)) || NILP (Fget_buffer (name)))
> +  if ((!NILP (ignore) && !NILP (Fstring_equal (name, ignore)))
> +      || NILP (Fget_buffer (name)))

Why not just use Fequal instead of Fstring_equal?


        Stefan



reply via email to

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