2012-12-12 2 views
0

elisp 소스에서 아무 것도 신경 쓰지 않고 디렉토리를 강제로 바이트 컴파일하는 방법 (대화 형 것과 동일 함을 의미) (C-u 0 M-x 바이트 재 컴파일 디렉토리)elisp에서 바이트를 강제로 컴파일하는 방법

(defun byte-compile-directory-recursively (directory) 
    (dolist (file (directory-files directory t "\\w+")) 
    (if (file-directory-p file) 
     (byte-compile-directory-recursively file) 
     (if (string-match "\\.el$" file) 
      (byte-compile-file file))))) 

:

내가 좋아하는 뭔가를 쓸 필요하세요? 어떤 도움을 주셔서 감사합니다.

답변

3

나는 당신이 (byte-recompile-directory directory 0)을 찾고 있다고 생각합니다.

+0

감사합니다. 나는 sth을 오해하고 어리석은 질문을 던졌다고 생각합니다. 이제는 분명합니다! – Edityouprofile

관련 문제