mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-21 13:38:35 +00:00
Don't export address field if empty
This commit is contained in:
parent
7b0c4ca1aa
commit
7e4af5d18e
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ holding export options."
|
|||
"\\personalinfo{\n"
|
||||
;; address
|
||||
(let ((address (org-export-data (plist-get info :address) info)))
|
||||
(when address (format "\\mailaddress{%s}\n" (mapconcat (lambda (line) (format "%s" line))
|
||||
(when (org-string-nw-p address) (format "\\mailaddress{%s}\n"
|
||||
(mapconcat (lambda (line) (format "%s" line))
|
||||
(split-string address "\n") " -- "))))
|
||||
;; email
|
||||
(let ((email (and (plist-get info :with-email)
|
||||
|
|
Loading…
Reference in a new issue