branch: externals/ivy-hydra
commit ab36ccb32322f2b500f947bbe10f62194a9ef6c8
Author: Basil L. Contovounesios <[email protected]>
Commit: Basil L. Contovounesios <[email protected]>

    * 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