Fix AVATAR property value not exist problem
This commit is contained in:
parent
c8408cf44e
commit
038a608e79
1 changed files with 11 additions and 11 deletions
|
@ -898,7 +898,7 @@ address."
|
||||||
(setq pom (or pom (point)))
|
(setq pom (or pom (point)))
|
||||||
(catch 'icon
|
(catch 'icon
|
||||||
;; Use `org-contacts-icon-property'
|
;; Use `org-contacts-icon-property'
|
||||||
(let ((image-path (let ((avatar (org-entry-get pom org-contacts-icon-property))
|
(let ((image-path (if-let ((avatar (org-entry-get pom org-contacts-icon-property))
|
||||||
(link-matcher-regexp "\\[\\[\\([^]]*\\)\\]\\(\\[\\(.*\\)\\]\\)?\\]"))
|
(link-matcher-regexp "\\[\\[\\([^]]*\\)\\]\\(\\[\\(.*\\)\\]\\)?\\]"))
|
||||||
(cond
|
(cond
|
||||||
;; [[file:dir/filename.png]]
|
;; [[file:dir/filename.png]]
|
||||||
|
|
Loading…
Reference in a new issue