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

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

bug#19023: 24.4; Long pause when evaluating numeric expression


From: Stefan Monnier
Subject: bug#19023: 24.4; Long pause when evaluating numeric expression
Date: Tue, 11 Nov 2014 20:52:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

[ Side comment.  ]

> (defun old-format (orig-fun value)
>   (and (integerp value) (eq standard-output t)
>        (format " (#o%o, #x%x)" value value)))

> (advice-add 'eval-expression-print-format :around #'old-format)

If you don't use `orig-fun', you might as well use :override rather
than :around.


        Stefan





reply via email to

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