On Sat, Jan 1, 2011 at 8:31 AM, ishi soichi
<soichi777@gmail.com> wrote:
hi. I would like to implement byte-compile elisp files. Is there a way to do it for all files in a directory?I tried "M-x byte-recompile-directory" but it does nothing. Well, only way I can think of is dired-do-byte-compile...but it still needs to execute one by one.
<C-h>f
byte-recompile-directory
will give you help with the command. Read it and pay attention to the "If the *.elc does not exist part"
And also, sometimes byte-compile-file produces errors like,
Byte compile error for /Users/ishidasouichi/.emacs.d/lisp/contrib/lisp/org-collector.el:
I have no idea why. This elisp file is downloaded from the official site, so no corrections are made. There should not be any problem in implementing byte-compile at all.