From bcb28ef8218c74058fde7a63e22639bc6ec5b31d Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Mon, 29 Jul 2024 13:53:40 -0700 Subject: [PATCH] Wee bit of tidiness --- ha-org-literate.org | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ha-org-literate.org b/ha-org-literate.org index 8175f36..578b0ce 100644 --- a/ha-org-literate.org +++ b/ha-org-literate.org @@ -2,7 +2,7 @@ #+author: Howard Abrams #+date: 2024-07-07 #+filetags: emacs hamacs -#+lastmod: [2024-07-25 Thu] +#+lastmod: [2024-07-26 Fri] A literate programming file for literate programming in Emacs Org Files. @@ -210,7 +210,7 @@ This helper function does the work of calling =ripgrep=, parsing its output, and (seq-filter 'identity)))) #+end_src -Note: the =processor= function creates an =xref= object, described below. See =ha-literate—process-rg-line=. +Note: the =processor= function creates an =xref= object, described below. See =ha-literate--process-rg-line=. The output from =ripgrep= goes through a couple of transformation functions listed here: @@ -406,10 +406,10 @@ To finish the connections, we need to create a /hook/ that I only allow to turn #+begin_src emacs-lisp (defun ha-literate-xref-activate () - "Function to activate org-based literate backend. -Add this function to `xref-backend-functions' hook. " - (when (eq major-mode 'org-mode) - 'org-babel)) + "Function to activate org-based literate backend. + Add this function to `xref-backend-functions' hook. " + (when (eq major-mode 'org-mode) + 'org-babel)) (add-hook 'xref-backend-functions #'ha-literate-xref-activate) #+end_src