org-contacts.el: replace obsolete alias `loop' with `cl-loop'
* contrib/lisp/org-contacts.el (org-contacts-get-icon): replace obsolete alias `loop' with `cl-loop'.
This commit is contained in:
parent
f948234cba
commit
c3888a8b74
|
@ -923,7 +923,7 @@ address."
|
|||
(email-list (org-entry-get pom org-contacts-email-property))
|
||||
(gravatar
|
||||
(when email-list
|
||||
(loop for email in (org-contacts-split-property email-list)
|
||||
(cl-loop for email in (org-contacts-split-property email-list)
|
||||
for gravatar = (gravatar-retrieve-synchronously (org-contacts-strip-link email))
|
||||
if (and gravatar
|
||||
(not (eq gravatar 'error)))
|
||||
|
@ -965,9 +965,9 @@ address."
|
|||
|
||||
(defun erc-nicknames-list ()
|
||||
"Return all nicknames of all ERC buffers."
|
||||
(loop for buffer in (erc-buffer-list)
|
||||
(cl-loop for buffer in (erc-buffer-list)
|
||||
nconc (with-current-buffer buffer
|
||||
(loop for user-entry in (mapcar 'car (erc-get-channel-user-list))
|
||||
(cl-loop for user-entry in (mapcar 'car (erc-get-channel-user-list))
|
||||
collect (elt user-entry 1)))))
|
||||
|
||||
(add-to-list 'org-property-set-functions-alist
|
||||
|
@ -1079,7 +1079,7 @@ is created and the VCard is written into that buffer."
|
|||
(fundamental-mode)
|
||||
(when (fboundp 'set-buffer-file-coding-system)
|
||||
(set-buffer-file-coding-system coding-system-for-write))
|
||||
(loop for contact in (org-contacts-filter name)
|
||||
(cl-loop for contact in (org-contacts-filter name)
|
||||
do (insert (org-contacts-vcard-format contact)))
|
||||
(if to-buffer
|
||||
(current-buffer)
|
||||
|
|
Loading…
Reference in New Issue