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

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

bug#12895: 24.3.50; Replacement for flet


From: Stefan Monnier
Subject: bug#12895: 24.3.50; Replacement for flet
Date: Fri, 16 Nov 2012 09:34:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> Overriding a function is bad.  It can mess things up and throw you
>> majorly off-course when debugging the problem.
> So are advices.

But advices are much more visible (e.g. they appear in C-h f).

> I have lots of flet in my .emacs, usually to suppress
> messages from functions which are defined elsewhere. For instance,

So you need just one advice that adds an `inhibit-message' variable and
then you can let-bind this variable wherever you used flet message.


        Stefan





reply via email to

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