[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to modify a function of a package
From: |
Maske |
Subject: |
Re: How to modify a function of a package |
Date: |
Sun, 29 Oct 2023 01:55:19 +0200 (GMT+02:00) |
I will try those solution as soon as I get some time (after updating the
package I have problems again).
Thanks to all of you for your lessons :-)
Oct 28, 2023 15:19:04 Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>:
> Since everyone gave you only the more advanced answers, here's also the
> simple ones:
>
> 1. You do (require 'package) before redefining a function in it. Won't always
> work, a package may do something really sneaky with it's functions, but
> should suffice for most cases.
>
> 2. If you use use-package, put your function redefinition into the :config
> form and that's it.