Purge org-contacts

... sort of
This commit is contained in:
Case Duckworth 2022-03-12 11:23:38 -06:00
parent a11c0cdeb0
commit b462cc8785
2 changed files with 36 additions and 37 deletions

View File

@ -177,7 +177,6 @@
(add-to-list '+browse-url-secondary-browser-regexps
(replace-regexp-in-string "\\." "\\\\." domain)))
;; Set up URL handlers.
(with-eval-after-load 'org-contacts
(require 'chd)
(+browse-url-set-handlers
(list
@ -212,7 +211,7 @@
args)))
(cons "." ; everything else
(lambda (&rest args)
(apply +browse-url-browser-function args))))))
(apply +browse-url-browser-function args)))))
;; Transform URLs before passing to `browse-url'
(:option +browse-url-transformations `((,(rx (or "youtube.com"
"youtu.be"))
@ -698,7 +697,7 @@
:unnarrowed t))
(+org-capture-sort))
(setup org-contacts
(setup org-contacts (:quit)
(:load-after org)
(:also-straight org-vcard) ; for importing Vcard files
(:option org-contacts-matcher "contact") ; Contacts are tagged "contact"

Binary file not shown.