branch: externals-release/org
commit 0e638c7e4da6d13fd925d7cb2294ecafcb32066f
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 dc5d066626..3097042c33 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -8219,7 +8219,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