branch: elpa/toc-org
commit 0dee7197c84ad69d1837dc908ea88ca4cda31c6d
Author: Sergei Nosov <[email protected]>
Commit: Sergei Nosov <[email protected]>
fix byte-compilation check
---
.travis.yml | 2 +-
org-toc.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b55c367a1f..e41c6da7b5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,4 +7,4 @@ before_install:
# Update and install the Emacs for our environment
- sudo apt-get update -qq
- sudo apt-get install -qq -yy emacs24-nox emacs24-el
-script: emacs -batch -l ert -l *.el -f ert-run-tests-batch-and-exit && emacs
-batch -f batch-byte-compile *.el 2>&1 | sed '/^Wrote.*\.elc$/d' | xargs -r ls
+script: emacs -batch -l ert -l *.el -f ert-run-tests-batch-and-exit && emacs
-batch -f batch-byte-compile *.el 2>&1 | sed -n '/Warning\|Error/p' | xargs -r
ls
diff --git a/org-toc.el b/org-toc.el
index 5122fcf021..04a3879066 100644
--- a/org-toc.el
+++ b/org-toc.el
@@ -277,7 +277,7 @@ following tag formats:
(add-hook 'before-save-hook 'org-toc-insert-toc nil t))
;; Local Variables:
-;; compile-command: "emacs -batch -l ert -l *.el -f
ert-run-tests-batch-and-exit && emacs -batch -f batch-byte-compile *.el 2>&1 |
sed '/^Wrote.*\.elc$/d' | xargs -r ls"
+;; compile-command: "emacs -batch -l ert -l *.el -f
ert-run-tests-batch-and-exit && emacs -batch -f batch-byte-compile *.el 2>&1 |
sed -n '/Warning\|Error/p' | xargs -r ls"
;; End:
(provide 'org-toc)