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

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

[elpa] externals/org-contacts abbf3a9a25 041/154: org-contacts.el: Renam


From: ELPA Syncer
Subject: [elpa] externals/org-contacts abbf3a9a25 041/154: org-contacts.el: Rename a function to follow emacs-lisp coding conventions
Date: Fri, 9 Sep 2022 15:58:24 -0400 (EDT)

branch: externals/org-contacts
commit abbf3a9a25a136676999c0bc999d6b3615628006
Author: Grégoire Jadi <gregoire.jadi@gmail.com>
Commit: Grégoire Jadi <gregoire.jadi@gmail.com>

    org-contacts.el: Rename a function to follow emacs-lisp coding conventions
    
    * contrib/lisp/org-contacts.el (org-contacts-db-need-update-p):
      Replace the '?' by a '-p'.
    
    (org-contacts-db): Use the new name.
---
 org-contacts.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org-contacts.el b/org-contacts.el
index 867453390c..9045087ea4 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -160,7 +160,7 @@ This overrides `org-email-link-description-format' if set."
   "Return list of Org files to use for contact management."
   (or org-contacts-files (org-agenda-files t 'ifmode)))
 
-(defun org-contacts-db-need-update? ()
+(defun org-contacts-db-need-update-p ()
   "Determine whether `org-contacts-db' needs to be refreshed."
   (or (null org-contacts-last-update)
       (some (lambda (file)
@@ -174,7 +174,7 @@ This overrides `org-email-link-description-format' if set."
         (contacts-matcher
          (cdr (org-make-tags-matcher org-contacts-matcher)))
         markers result)
-    (when (org-contacts-db-need-update?)
+    (when (org-contacts-db-need-update-p)
       (message "Update Org Contacts Database")
       (dolist (file (org-contacts-files))
        (org-check-agenda-file file)



reply via email to

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