aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Emacs/.config/emacs/config.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index f6c7697..9219e66 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1237,7 +1237,9 @@ Some bindings for org mode.
"Searches USER-EMACS-DIRECTORY for org headings via counsel-rg"
(interactive)
(counsel-rg "^\\* "
- (cl-subseq user-emacs-directory 0 (- (length user-emacs-directory) 1))))
+ (substring user-emacs-directory 0
+ (- (length user-emacs-directory) 1))
+ "--max-depth=1"))
:general
(file-leader
"l" #'org-store-link