branch: elpa/julia-mode
commit fecfe2092715b7b89590d77bdc70f2a0386ce19f
Author: Tamas K. Papp <tkp...@gmail.com>
Commit: GitHub <nore...@github.com>

    Update julia-mode-tests.el
    
    Co-authored-by: Felipe Lema <felipel...@mortemale.org>
---
 julia-mode-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/julia-mode-tests.el b/julia-mode-tests.el
index 0fd4d21c20..e1d2129776 100644
--- a/julia-mode-tests.el
+++ b/julia-mode-tests.el
@@ -80,7 +80,7 @@
            (if (stringp to)
                (progn (goto-char (point-min))
                       (re-search-forward to)
-                      (if end
+                      (when end
                           (goto-char (match-end 0))
                         (goto-char (match-beginning 0))
                         (point-at-bol)))

Reply via email to