[Top][All Lists]

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

[elpa] externals/excorporate 882f2e0 44/93: excorporate-diary: Suppress

From: Stefan Monnier
Subject: [elpa] externals/excorporate 882f2e0 44/93: excorporate-diary: Suppress compilation warning
Date: Sun, 29 Nov 2020 15:43:05 -0500 (EST)

branch: externals/excorporate
commit 882f2e0791744687cbff2621f87e2341e1e0b24c
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>

    excorporate-diary: Suppress compilation warning
    * packages/excorporate/excorporate-diary.el
    (excorporate-diary-enable): Suppress byte compilation warning
    about number of arguments to diary-make-entry.
 excorporate-diary.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/excorporate-diary.el b/excorporate-diary.el
index 3668b85..9f28b18 100644
--- a/excorporate-diary.el
+++ b/excorporate-diary.el
@@ -261,7 +261,8 @@ ARGUMENTS are the arguments to `diary-view-entries'."
          (let ((include-string (concat diary-include-string " \"" file "\"")))
            (if (string-match "omit-trailing-space"
                              (documentation 'diary-make-entry))
-               (diary-make-entry include-string nil nil t t)
+               (with-no-warnings
+                 (diary-make-entry include-string nil nil t t))
              (exco-diary-diary-make-entry include-string)))
   (advice-add #'diary :around #'exco-diary-diary-around)

reply via email to

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