1
0
Fork 1
mirror of https://gitlab.com/Titan-C/org-cv.git synced 2025-04-16 18:29:29 +00:00

fixup! feat(ox-moderncv.el): allow specify of last name with regexp string

This commit is contained in:
Louis Vigneras 2025-01-05 16:09:01 +01:00
parent 965edbc983
commit 11b764801c

View file

@ -102,11 +102,7 @@ holding export options."
(let ((author (and (plist-get info :with-author)
(let ((auth (plist-get info :author)))
(and auth (org-export-data auth info))))))
<<<<<<< HEAD
(if (string-match "u\\([a-z]*.[a-z]*\\).:last.\\([a-z]*.[a-z]*\\)" author)
=======
(if (string-match "\\([a-z]*.[a-z]*\\).:last.\\([a-z]*.[a-z]*\\)" author)
>>>>>>> a5eb129 (feat(ox-moderncv.el): allow specify of last name with regexp string)
(let ((first-name (match-string 1 author))
(last-name (match-string 2 author)))
(format "\\name{%s}{%s}\n" first-name last-name))