branch: externals/org-real
commit d07bf14e43a8c7aa041414bf69974d4804fc92b5
Author: Tyler Grinn <tylergr...@gmail.com>
Commit: Tyler Grinn <tylergr...@gmail.com>

    find-last index returns nil if no match
---
 org-real.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org-real.el b/org-real.el
index d207afb..588b3e6 100644
--- a/org-real.el
+++ b/org-real.el
@@ -144,8 +144,8 @@ parameters are used internally and should not be supplied."
        (lambda (elt)
          (if (funcall pred elt) (throw 'match i))
          (setq i (- i 1)))
-       (reverse sequence)))
-    i))
+       (reverse sequence))
+      nil)))
 
 (defun org-real--parse-url (str)
   "Parse STR into a list of plists.

Reply via email to