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

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

[elpa] externals/ivy-hydra 778d8bf 363/395: * counsel.el (counsel-org-fi


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

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

    * counsel.el (counsel-org-files): Simplify regexp.
    
    Remove capture groups no longer used.
    
    Re: #2745.
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 8a5df31..107524e 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]