[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Renaming some functions
From: |
Stefan Monnier |
Subject: |
Re: Renaming some functions |
Date: |
Mon, 04 May 2020 01:11:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> > Here's my first concrete renaming proposition:
>
> > multibyte-string-p => string-multibyte-p
>
> > Any objection?
>
> The actual behavior of the function is to return t if the argument is
> a multibyte string, nil for any other type. The clear name for that
> is multibyte-string-p.
>
> string-multibyte-p implies a function that accepts only strings as arguments
> and returns t if the argument is multibyte.
AFAICT, it's only ever called with a string as argument (IOW its
behavior on non-strings is basically of no consequence), so both names
work as well from that point of view.
Stefan
Re: Renaming some functions, Richard Stallman, 2020/05/03
- Re: Renaming some functions,
Stefan Monnier <=