branch: externals/org
commit 8e161bcccf4ee5985b6da1bc265f711b34ad11c4
Author: Morgan Smith <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    org-agenda-filter-completion-function: Return correct boundary
    
    * lisp/org-agenda.el (org-agenda-filter-completion-function):
    Previously a string was returned when the boundry should be a number.
    Now it is a number.
    
    Reported-by: "martin" <[email protected]>
    Link: 
https://list.orgmode.org/caofdpfwvy6ouzrz3qkn7aqlyvpgs3exx6qa-ftgfj1c7oak...@mail.gmail.com/
---
 lisp/org-agenda.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 8242f80366..d3f6255855 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -8235,7 +8235,7 @@ which see."
       (`lambda (assoc string table)) ;exact match?
       (`(boundaries . ,suffix)
        (let ((end (if (string-match "[-+<>=]" suffix)
-                      (match-string 0 suffix)
+                      (match-beginning 0)
                     (length suffix))))
          `(boundaries ,(or begin 0) . ,end)))
       (`nil

Reply via email to