diff options
author | Julien Danjou <julien@danjou.info> | 2010-10-31 15:25:39 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-10-31 15:25:39 -0400 |
commit | 430e7297cbfe8c2ef14b5b703fc56c4efce439c0 (patch) | |
tree | fcc163bfd3912819412ef0b6c40af444329fc1d5 /lisp/cedet/semantic/ede-grammar.el | |
parent | f486841f693606fff8f40a47f9d1a5afcf0a343d (diff) | |
download | emacs-430e7297cbfe8c2ef14b5b703fc56c4efce439c0.tar.gz |
* lisp/emacs-lisp/bytecomp.el (byte-recompile-file): New fun.
(byte-recompile-directory):
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
* cedet/ede/proj-elisp.el (project-compile-target):
* cedet/semantic/ede-grammar.el (project-compile-target):
Use `byte-recompile-file'.
Fixes: debbugs:7297
Diffstat (limited to 'lisp/cedet/semantic/ede-grammar.el')
-rw-r--r-- | lisp/cedet/semantic/ede-grammar.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/cedet/semantic/ede-grammar.el b/lisp/cedet/semantic/ede-grammar.el index 184e23c9505..ac995884d54 100644 --- a/lisp/cedet/semantic/ede-grammar.el +++ b/lisp/cedet/semantic/ede-grammar.el @@ -133,10 +133,7 @@ Lays claim to all -by.el, and -wy.el files." (save-excursion (semantic-grammar-create-package)) (save-buffer) - (let ((cf (concat (semantic-grammar-package) ".el"))) - (if (or (not (file-exists-p cf)) - (file-newer-than-file-p src cf)) - (byte-compile-file cf))))) + (byte-recompile-file (concat (semantic-grammar-package) ".el") nil 0)) (oref obj source))) (message "All Semantic Grammar sources are up to date in %s" (object-name obj))) |