4

I have an emacs package installed from elpa in my ${HOME}/.emacs.d/elpa/ directory, and I am trying to fiddle with its .el source file. I would like to

  • recompile after modification
  • have those changes take effect in the current emacs session, without quitting.

This seems similar to another question, but nothing mentioned there that I've tried works:

  • M-x emacs-lisp-byte-compile-and-load
  • reloading my .emacs after byte-recompilation
  • load-library RET <library name>
  • eval-buffer
  • load-file RET <path to corresponding .elc file>
  • remove .elc file completely and load-file RET <path to .el file>

None of these work as intended: the package does not reload, as I can confirm quite easily by breaking / unbreaking some of its functions.

Drew
  • 75,699
  • 9
  • 109
  • 225
grobber
  • 141
  • 2
  • 1
    For me (in spacemacs) `emacs-lisp-byte-compile-and-load` works on a package file in `.emacs.d/elpa/27.2/develop/...`. – user905686 Apr 22 '21 at 13:10

0 Answers0