Support url being a cons

This commit is contained in:
Bram Schoenmakers 2024-01-03 20:33:12 +01:00
parent 4c495efa3a
commit b04e676203
Signed by: bram
GPG key ID: 0CCD19DFDC63258F
2 changed files with 8 additions and 2 deletions

View file

@ -814,7 +814,10 @@ Based on an answer at the [[https://emacs.stackexchange.com/a/77480/34645][Emacs
(denote-keywords-prompt)
'org
(denote-subdirectory-prompt))
(org-set-property "URL" url))
(org-set-property "URL" (if (consp url)
(car url)
url)))
;;; Elfeed integration

View file

@ -82,7 +82,10 @@ looking at the <title> tags."
(denote-keywords-prompt)
'org
(denote-subdirectory-prompt))
(org-set-property "URL" url))
(org-set-property "URL" (if (consp url)
(car url)
url)))
;;; Elfeed integration