[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to modify a function of a package
From: |
Emanuel Berg |
Subject: |
Re: How to modify a function of a package |
Date: |
Fri, 13 Oct 2023 01:54:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Maske wrote:
> I have installed a package and I want to modify a function
> of it, but not in the package itself, because if there is an
> update it would stop working, so I have added the function
> modified in my init file. But, it doesn't work. The package
> behavior is not altered.
You can use `eval-defun' or `eval-last-sexp' and try whatever
the package does after that, if you use the same name as the
package for the function it should work.
But it should also work from the init file, maybe you load the
package at a later stage so the old definition gets used all
the same?
--
underground experts united
https://dataswamp.org/~incal