mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Handle rendering messages using the old reference schema in khoj.el
Previously references were a list instead of a map
This commit is contained in:
@@ -921,7 +921,7 @@ RECEIVE-DATE is the message receive date."
|
||||
(defun khoj--generate-reference (reference)
|
||||
"Create `org-mode' footnotes with REFERENCE."
|
||||
(setq khoj--reference-count (1+ khoj--reference-count))
|
||||
(let ((compiled-reference (cdr (assoc 'compiled reference))))
|
||||
(let ((compiled-reference (if (stringp reference) reference (cdr (assoc 'compiled reference)))))
|
||||
(cons
|
||||
(propertize (format "^{ [fn:%x]}" khoj--reference-count) 'help-echo compiled-reference)
|
||||
(thread-last
|
||||
|
||||
Reference in New Issue
Block a user