[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string-to-char
From: |
Stefan Monnier |
Subject: |
Re: string-to-char |
Date: |
Mon, 27 Nov 2006 08:38:34 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
> This function may be eliminated in the future if it does not seem
> useful enough to retain.
> Given that some 60 files of current Emacs use `string-to-char' these
> lines appear incongruous and should be eliminated.
I think (aref STR 0) is just as good. And as someone else mentioned,
string-to-char is surprisingly often used in odd cases where the whole thing
could be completely removed.
Stefan
- string-to-char, martin rudalics, 2006/11/27
- Re: string-to-char, Juanma Barranquero, 2006/11/27
- Re: string-to-char, Nick Roberts, 2006/11/27
- Re: string-to-char, Juanma Barranquero, 2006/11/27
- Re: string-to-char, Nick Roberts, 2006/11/27
- Re: string-to-char, Richard Stallman, 2006/11/28
- Re: string-to-char, Juanma Barranquero, 2006/11/29
- Re: string-to-char, Richard Stallman, 2006/11/29
Re: string-to-char, Richard Stallman, 2006/11/27
Re: string-to-char, Glenn Morris, 2006/11/27
Re: string-to-char,
Stefan Monnier <=