[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/toc-org 0b759818ee 025/128: fix byte-compilation warning
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/toc-org 0b759818ee 025/128: fix byte-compilation warning |
Date: |
Sun, 2 Jan 2022 09:59:07 -0500 (EST) |
branch: elpa/toc-org
commit 0b759818ee05b2abe44dddd3d561d38ef17050cb
Author: Sergei Nosov <sergei.nosov@gmail.com>
Commit: Sergei Nosov <sergei.nosov@gmail.com>
fix byte-compilation warning
---
.travis.yml | 2 +-
org-toc.el | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b1bd26412f..b55c367a1f 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
+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
diff --git a/org-toc.el b/org-toc.el
index 5ad797a057..5122fcf021 100644
--- a/org-toc.el
+++ b/org-toc.el
@@ -106,6 +106,7 @@ tags."
(insert content)
(org-toc-raw-toc))
gold)))
+ (declare-function org-toc-test-raw-toc-gold-test "org-toc") ;; suppress
compiler warning
(let ((beg "* About\n:TOC:\n drawer\n:END:\n\norg-toc is a utility to have
an up-to-date table of contents in the\norg files without exporting (useful
primarily for readme files on\nGitHub).\n\nIt is similar to the
[[https://github.com/ardumont/markdown-toc][markdown-toc]] package, but works
for org files.\n:TOC:\n drawer\n:END:\n\n* Table of Contents
")
(gold "* About\n"))
@@ -276,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"
+;; 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"
;; End:
(provide 'org-toc)
- [nongnu] elpa/toc-org d30b57f16d 077/128: Merge pull request #40 from alphapapa/update-primary-docstring, (continued)
- [nongnu] elpa/toc-org d30b57f16d 077/128: Merge pull request #40 from alphapapa/update-primary-docstring, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 37f3bf2733 112/128: Add tests for the case-sensitive COMMENT regexp, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 4d259c9cea 086/128: Merge pull request #51 from snosov1/work-in-derived-modes, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org cd1868787c 087/128: Fix Emacs 26 warning, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 3315ef6c96 106/128: Merge pull request #66 from snosov1/enable-toc-org-for-markdown, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 9fefa63d42 119/128: Merge pull request #75 from Alexander-Miller/local-offset, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 7ff7abb015 029/128: update documentation on org-toc-2 in the source, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org df4ad6ff15 121/128: Merge pull request #76 from snosov1/revert-75-local-offset, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org c4c61c5a38 117/128: Merge pull request #73 from syohex/correct-sample, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org acca680bc5 098/128: Add somewhat working TOC generation for markdown files, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 0b759818ee 025/128: fix byte-compilation warning,
ELPA Syncer <=
- [nongnu] elpa/toc-org a0fd8ffb8a 047/128: make internal linking work with Org 8.3, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 7fae24baa9 030/128: revert org-toc-2 documentation changes, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org af1ffb17c2 050/128: Better toc-org-special-chars-regexp, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 158934fefd 064/128: Merge pull request #31 from azizyemloul/delete-heading-trailing-spaces, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org a0e8ca05e8 066/128: Merge pull request #33 from iqbalansari/master, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 39fbbda8df 081/128: handle custom keywords specified in the files, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 8dbb3df422 125/128: Fix byte-compiler warning in Emacs 28, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org a3d953a5fa 076/128: Update and clarify primary docstring to explain :noexport:, etc., ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 5a2d7e58dd 028/128: add org-toc-2 alias, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org da99c5d801 023/128: require ert, ELPA Syncer, 2022/01/02