commit 171131e3f58e3bfc612cd9f746c18d22f7aa47e7 parent 386005141dee797c69ff6cfcea74c9e098a8d7b2 Author: Lou Woell <lou.woell@posteo.de> Date: Mon, 6 Oct 2025 03:47:16 +0200 [haredoc.el] prettify Diffstat:
| M | haredoc.el | | | 12 | ++++++------ |
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/haredoc.el b/haredoc.el @@ -361,12 +361,12 @@ declaration at point." identifier default-directory))) (mapcar (lambda (line) (let* ((loc (string-split line " " t)) - (id (string-join (cdr loc) " ")) - (loc (string-split (nth 0 loc) ":" t))) - (xref-make id - (xref-make-file-location (nth 0 loc) - (string-to-number (nth 1 loc)) - (string-to-number (nth 2 loc)))))) + (summary (string-join (cdr loc) " ")) + (loc (string-split (car loc) ":" t)) + (file (nth 0 loc)) + (line (string-to-number (nth 1 loc))) + (col (string-to-number (nth 2 loc)))) + (xref-make summary (xref-make-file-location file line col)))) lines))) (provide 'haredoc)