I'm trying to modify the package
ediprolog, which was installed and working before, with use-package, from ELPA. I copied the file from the
elpa folder to a folder called
ediprolog.el and used:
(use-package ediprolog :load-path "./extern/")
The problem is now I'm getting an error saying
File mode specification error: (error Autoloading file ~/.emacs.d/extern/ediprolog.el failed to define function ediprolog)
(even with the original code for ediprolog.el). Further, even if I remove the
:load-path and try to load the package from ELPA, I still get the same error. Also, even though it fails, it seems to find functions like
ediprolog-dwim which has an autoload cookie and is defined in that file, but they don't work.
(I have tried deleting the
elpa folder and redownloading all the packages, removing only the ediprolog folder and removing
ediprolog from the list of selected packages, but still the same results)
How can I make
use-package load the package properly again?
(defun ediprolog ())
in the file makes the error go away, but this doesn't seem like the correct thing to do.