bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19114: 25.0.50; doc string of `eval-expression-print-format' is inap


From: Michael Heerdegen
Subject: bug#19114: 25.0.50; doc string of `eval-expression-print-format' is inappropriate
Date: Sat, 30 Apr 2016 17:27:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:


> I don't know quite what they're trying to express here...

Seems this function does only return a non-nil value for integer
values.  It seems to be responsible for printing it in octal, hex, and
as a character.


> (eval-expression-print-format 1)
> C-x C-e
> " (#o1, #x1, ?\\C-a)" appears in *Messages*

C-x C-e prints the return value.  The function doesn't print by itself
(AFAIU this is what Drew wanted to be made clearer).


> (eval-expression-print-format 1)
> C-u C-x C-e
> => nil
> Nothing in *Messages*

Expected, I think.

> (eval-expression-print-format 'foo)
> nil

Because foo is not an integer.


Michael.





reply via email to

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