From 943eaf7d2746a9e441b53b7db43dfaae9643cef2 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Thu, 7 Jul 2022 09:26:55 -0700 Subject: [PATCH] Gah, fix paren issue --- ha-org.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ha-org.org b/ha-org.org index 99f55fb..cb348b6 100644 --- a/ha-org.org +++ b/ha-org.org @@ -308,7 +308,7 @@ This function calls the above-mentioned operating-system-specific functions, but #+end_src Let’s see it in action: #+begin_src emacs-lisp :tangle no :results replace - (ha-search-notes--files "openstack grafana" '("~/Notes"))) + (ha-search-notes--files "openstack grafana" '("~/Notes")) #+end_src Returns this string: @@ -327,7 +327,7 @@ The =ha-search-notes= function prompts for the phrase to search, and then search (use-paths (or path (list org-directory org-journal-dir))) (files (ha-search-notes--files phrase use-paths)) (cmd-line (format "%s -ni -m 1 '%s' %s" command regexp files))) - (grep cmd-line)))) + (grep cmd-line))) #+end_src Add a keybinding to the function: