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

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

[elpa] externals/ivy-hydra ab36ccb 364/395: * counsel.el (counsel-org-fi


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra ab36ccb 364/395: * counsel.el (counsel-org-files): Fix regexp.
Date: Thu, 25 Feb 2021 08:32:39 -0500 (EST)

branch: externals/ivy-hydra
commit ab36ccb32322f2b500f947bbe10f62194a9ef6c8
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    * counsel.el (counsel-org-files): Fix regexp.
    
    Don't anchor at BOL.
    
    Fixes #2742.
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 107524e..3b4326b 100644
--- a/counsel.el
+++ b/counsel.el
@@ -3796,7 +3796,7 @@ include attachments of other Org buffers."
   (let (dirs)
     (save-excursion
       (goto-char (point-min))
-      (while (re-search-forward "^:\\(?:ATTACH_DIR\\|ID\\):[\t ]+.*$" nil t)
+      (while (re-search-forward ":\\(?:ATTACH_DIR\\|ID\\):[\t ]+.*$" nil t)
         (let ((dir (org-attach-dir)))
           (when dir
             (push dir dirs)))))



reply via email to

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