Nathaniel Flath
Nathaniel Flath

Reputation: 16025

emacs recompile file while running

How do you recompile emacs-lisp scripts from within emacs without problems? I've tried

batch-recompile-direcory
, but this causes weird glitches with the recompiled files until I restart emacs. Is there any way to do this so that no errors are caused?

Upvotes: 1

Views: 184

Answers (1)

cschol
cschol

Reputation: 13069

This page of the GNU Emacs Reference manual taks about reloading files and/or libraries.

You definitely have to explicitey reload the new file with M-x load-library, unless there is another emacs mechanism that forces it to reload the newly byte-compiled function.

Upvotes: 2

Related Questions