I use the package
The package contains, for example, two functions, called as:
Function 1 Function 2
There is a new commit to the package
vimish-fold on Github, which will add the new function 3. But the changes are not reflected yet in MELPA.
I wanted to try it out, so I upgrade it manually.
I made the mistake of changing the contents of the package manually.
I copied the new code from Github, pasted the new code over the old code in the
.el-file in the same package. And in the same package, I bytecompiled manually the
.el-file in the same directory. So the
.elc-file is also updated.
After restarting Emacs, I don't see the
function 3 appearing when calling the commands lists with M-x.
After that, I deleted the package
package.el and reinstalled it. I waited until the update for
vimish-fold appeared in MELPA, and update it with
In the same Emacs session, the new features of
vimish-fold works fine, like
function 3. But when I restarted Emacs, I see the new commands when I do M-x:
Function 1 Function 2 Function 3
I call the
function 3, I get the message
"Autoloading failed to define function function 3" But the
function 1 and
function 2 works fine, except the new
function 3. So I guess somewhere the old package is still active. Then I remove the package
package.el, and reinstall it. In the same Emacs session the
function 3 works again. But when I restarted Emacs,
Function 3 is visible in the list of all commands, but I get the same error when I call the
So it seems the right package is enabled, but I get the autoloading fail error again. Note this is after deleting and reinstall the same package with the MELPA package manager/paradox.
It seems the others also struggled with the same issue. Without any succes. When I do a grep, I can't find any other same package as
vimish-fold. Notice that I use Windows, and I have my
.emacs.d in my PATH.
Any suggestion in order to solve it?