mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-22 07:09:47 +00:00
org-contacts.el (org-contacts-export-as-vcard): Don't use non-existent function `org-install-letbind'
* contrib/lisp/org-contacts.el (org-contacts-export-as-vcard): Don't use non-existent function `org-install-letbind'. Thanks to Simon Thum for reporting this.
This commit is contained in:
parent
591d377e78
commit
4a8f81153a
@ -151,7 +151,6 @@ This overrides `org-email-link-description-format' if set."
|
||||
|
||||
;; Decalre external functions and variables
|
||||
(declare-function org-reverse-string "org")
|
||||
(declare-function org-install-letbind "org-exp")
|
||||
(declare-function diary-ordinal-suffix "ext:diary-lib")
|
||||
(declare-function wl-summary-message-number "ext:wl-summary")
|
||||
(declare-function wl-address-header-extract-address "ext:wl-address")
|
||||
@ -871,20 +870,14 @@ is created and the VCard is written into that buffer."
|
||||
(buffer (if to-buffer
|
||||
(get-buffer-create to-buffer)
|
||||
(find-file-noselect filename))))
|
||||
|
||||
(message "Exporting...")
|
||||
|
||||
(set-buffer buffer)
|
||||
(let ((inhibit-read-only t)) (erase-buffer))
|
||||
(fundamental-mode)
|
||||
(org-install-letbind)
|
||||
|
||||
(when (fboundp 'set-buffer-file-coding-system)
|
||||
(set-buffer-file-coding-system coding-system-for-write))
|
||||
|
||||
(loop for contact in (org-contacts-filter name)
|
||||
do (insert (org-contacts-vcard-format contact)))
|
||||
|
||||
(if to-buffer
|
||||
(current-buffer)
|
||||
(progn (save-buffer) (kill-buffer)))))
|
||||
|
Loading…
Reference in New Issue
Block a user