[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: customize type spec not being followed?
From: |
Rusi |
Subject: |
Re: customize type spec not being followed? |
Date: |
Sun, 24 Dec 2017 04:05:53 -0800 (PST) |
User-agent: |
G2/1.0 |
On Sunday, December 24, 2017 at 5:31:55 PM UTC+5:30, Philipp Stephani wrote:
> Rusi schrieb am So., 24. Dez. 2017 um 12:50 Uhr:
>
> >
> > So my question: When the type says character why does it show as integer?
> >
>
> Because characters are integers. See
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Character-Type.html
> .
In (info "(elisp)simple types")
we find
‘character’
The value must be a character code. A character code is actually
an integer, but this type shows the value by inserting the
character in the buffer, rather than by showing the number.