emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/toc-org aa9aea6d69 102/128: Supress warnings


From: ELPA Syncer
Subject: [nongnu] elpa/toc-org aa9aea6d69 102/128: Supress warnings
Date: Sun, 2 Jan 2022 09:59:13 -0500 (EST)

branch: elpa/toc-org
commit aa9aea6d69efacd2626065ffe93a7b81084a6840
Author: Sergei Nosov <sergei.nosov@gmail.com>
Commit: Sergei Nosov <sergei.nosov@gmail.com>

    Supress warnings
---
 toc-org-test.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/toc-org-test.el b/toc-org-test.el
index 0895911890..fe794115a7 100644
--- a/toc-org-test.el
+++ b/toc-org-test.el
@@ -256,7 +256,9 @@
                (buffer-substring-no-properties
                 (point-min) (point-max))
                gold))))
-  (declare-function test-toc-org-insert-toc-gold-test-markdown "toc-org") ;; 
suppress compiler warning
+  ;; suppress compiler warnings
+  (declare-function test-toc-org-insert-toc-gold-test-markdown "toc-org")
+  (declare-function markdown-mode "toc-org")
 
   (let ((beg "# About\n:TOC:\n drawer\n:END:\n\ntoc-org 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# Hello\n## Good-bye\n### Salut\n# 
Table of Contents                                                     "))
     (test-toc-org-insert-toc-gold-test-markdown



reply via email to

[Prev in Thread] Current Thread [Next in Thread]