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

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

[elpa] externals/org-contacts 295eb514d0 2/4: `with-memoization` require


From: ELPA Syncer
Subject: [elpa] externals/org-contacts 295eb514d0 2/4: `with-memoization` requires emacs 29.1
Date: Fri, 2 Aug 2024 21:59:36 -0400 (EDT)

branch: externals/org-contacts
commit 295eb514d06ac5bf7c4afd83590933ca3482b5ea
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>

    `with-memoization` requires emacs 29.1
---
 org-contacts.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/org-contacts.el b/org-contacts.el
index 51279396ae..ec26106da7 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -6,7 +6,7 @@
 ;; Maintainer: stardiviner <numbchild@gmail.com>
 ;; Keywords: contacts, org-mode, outlines, hypermedia, calendar
 ;; Version: 1.1
-;; Package-Requires: ((emacs "28.1") (org "9.7"))
+;; Package-Requires: ((emacs "29.1") (org "9.7"))
 ;; Homepage: https://repo.or.cz/org-contacts.git
 ;;
 ;; This file is not part of GNU Emacs.
@@ -228,6 +228,7 @@ A regexp matching strings of whitespace, `,' and `;'.")
 (defvar org-contacts-all-contacts nil
   "A data store variable of all contacts.")
 
+;;;###autoload
 (defun org-contacts-files ()
   "Return list of Org files to use for contact management."
   (if org-contacts-files
@@ -1496,9 +1497,7 @@ Each element has the form (NAME . (FILE . POSITION))."
         (org-contacts-files))))
 
 (setq org-contacts-all-contacts
-      (if (fboundp 'with-memoization)
-          (with-memoization org-contacts-all-contacts
-            (org-contacts--all-contacts))
+      (with-memoization org-contacts-all-contacts
         (org-contacts--all-contacts)))
 
 ;;;###autoload



reply via email to

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