branch: externals/org-contacts
commit 6660db078f7687af3bc31f702e3e957d4d7654bd
Author: stardiviner <numbch...@gmail.com>
Commit: stardiviner <numbch...@gmail.com>

    Fix error: symbol’s function definition is void: `erc-server-buffer-live-p`
---
 org-contacts.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-contacts.el b/org-contacts.el
index e2b67ac7ff..dd09d077e0 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -1076,7 +1076,7 @@ Return a org-contacts \"NICKNAME\" as property's value 
after completion."
          (contact-nick (substring-no-properties
                         (org-completing-read (or prompt "org-contacts 
NICKNAME: ")
                                              (append 
org-contacts-candidates-propertized collection
-                                                     (when (or (featurep 'erc)
+                                                     (when (or (require 'erc 
nil t)
                                                                
(erc-server-buffer-live-p)
                                                                
(erc-server-process-alive)
                                                                
erc-server-processing-p)

Reply via email to