[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Undo defalias
From: |
Eli Zaretskii |
Subject: |
Re: Undo defalias |
Date: |
Fri, 03 Mar 2023 17:52:46 +0200 |
> Date: Fri, 03 Mar 2023 10:49:57 -0500
> From: Stefan Monnier via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org>
>
> AFAIK most cases where `message` can end up aliased to `ignore` is when
> you have code doing
>
> (cl-letf (((symbol-function 'message) #'ignore))
> ...)
>
> In that case, the previous value won't be found in `function-history`.
Maybe we should modify cl-letf (and other methods, if any) to record
the changes in function-history?