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

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

[elpa] master 0587fd1 3/4: Excorporate: Fix a byte-compilation warning


From: Thomas Fitzsimmons
Subject: [elpa] master 0587fd1 3/4: Excorporate: Fix a byte-compilation warning
Date: Wed, 30 Sep 2020 23:08:58 -0400 (EDT)

branch: master
commit 0587fd155de1bd83662e4ae7749aef0dccdd51bd
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>

    Excorporate: Fix a byte-compilation warning
    
    * packages/excorporate/excorporate-org.el: Require cl-lib.
    (exco-org--calendar-item-region-at-point): Use cl-values, not
    values.
---
 packages/excorporate/excorporate-org.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/packages/excorporate/excorporate-org.el 
b/packages/excorporate/excorporate-org.el
index 6499dc8..680fbc7 100644
--- a/packages/excorporate/excorporate-org.el
+++ b/packages/excorporate/excorporate-org.el
@@ -26,6 +26,7 @@
 
 (require 'org)
 (require 'excorporate)
+(require 'cl-lib)
 
 (defvar excorporate-org-buffer-name "*Excorporate*"
   "The buffer into which Org Mode output is inserted.")
@@ -42,7 +43,7 @@ built-in Org 9.1.9 which does not have the `org-element'
 feature."
   (catch 'not-a-calendar-item
     (save-excursion
-      (values
+      (cl-values
        (progn (ignore-errors (org-back-to-heading))
              (unless (looking-at "^\\*\\* ") (throw 'not-a-calendar-item nil))
              (point))



reply via email to

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