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

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

[nongnu] elpa/helm 066e73b92c 1/2: Fix #2681 in helm-outline


From: ELPA Syncer
Subject: [nongnu] elpa/helm 066e73b92c 1/2: Fix #2681 in helm-outline
Date: Sun, 28 Jul 2024 01:00:12 -0400 (EDT)

branch: elpa/helm
commit 066e73b92cc1d7f5fa0cf4b31b6e04d5c224284f
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Fix #2681 in helm-outline
---
 helm-misc.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/helm-misc.el b/helm-misc.el
index 96d348fc52..cd68b5b81c 100644
--- a/helm-misc.el
+++ b/helm-misc.el
@@ -393,15 +393,13 @@ Default action change TZ environment variable locally to 
emacs."
 (defun helm-outline ()
   "Basic helm navigation tool for outline buffers."
   (interactive)
-  (cl-assert (buffer-local-value 'outline-minor-mode (current-buffer))
-             nil "Not an outline enabled buffer")
   (helm :sources (helm-build-sync-source "helm outline"
                  :candidates
                  (lambda ()
                    (with-helm-current-buffer
                      (save-excursion
                        (goto-char (point-min))
-                       (cl-loop while (re-search-forward "^[*]+" nil t)
+                       (cl-loop while (re-search-forward outline-regexp nil t)
                                 for beg = (match-beginning 0)
                                 for end = (progn
                                             (outline-end-of-heading) (point))



reply via email to

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