[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4400: 23.1.50; char-syntax
From: |
Juanma Barranquero |
Subject: |
bug#4400: 23.1.50; char-syntax |
Date: |
Fri, 11 Sep 2009 12:15:42 +0200 |
On Fri, Sep 11, 2009 at 08:38, Andreas Roehler
<andreas.roehler@online.de> wrote:
>
> Emacs -Q
>
> (char-syntax (char-after))a
> --> 119
>
> which seems not what's told in docu:
>
> Return the syntax code of CHARACTER, described by a character.
> For example, if CHARACTER is a word constituent,
> the character `w' is returned.
But 119 is `w'...
ELISP> (char-syntax ?a)
119
ELISP> ?w
119
Perhaps you were expecting `char-syntax' to return a string with the
syntax code, i.e., "w"?
Juanma