emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 392f6ebe77: Tweak denote-org-extras--get-outline


From: ELPA Syncer
Subject: [elpa] externals/denote 392f6ebe77: Tweak denote-org-extras--get-outline to only ever get useful regexp for the outline
Date: Fri, 6 Dec 2024 06:57:43 -0500 (EST)

branch: externals/denote
commit 392f6ebe77ebbbf496bdbd590db95c79cc82ed96
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Tweak denote-org-extras--get-outline to only ever get useful regexp for the 
outline
---
 denote-org-extras.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-org-extras.el b/denote-org-extras.el
index d769e0f954..97ce658de1 100644
--- a/denote-org-extras.el
+++ b/denote-org-extras.el
@@ -36,7 +36,7 @@
 (defun denote-org-extras--get-outline (file)
   "Return `outline-regexp' headings and line numbers of FILE."
   (with-current-buffer (find-file-noselect file)
-    (let ((outline-regexp (format "^\\(?:%s\\)" (or (bound-and-true-p 
outline-regexp) "[*\^L]+")))
+    (let ((outline-regexp (format "^\\(?:%s\\)" (or (bound-and-true-p 
outline-regexp) "\\*+ ")))
           candidates)
       (save-excursion
         (goto-char (point-min))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]