Browse Source

Ensure test files are opened in Emacs in test-org/fuzzy-links

Skip Collins 8 years ago
parent
commit
90f5c0d1a4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      testing/lisp/test-org.el

+ 2 - 2
testing/lisp/test-org.el

@@ -2227,7 +2227,7 @@ Foo Bar
        (insert (format "[[file:%s::line1 line2]]" file))
        (beginning-of-line)
        (let ((org-link-search-must-match-exact-headline nil))
-	 (org-open-at-point))
+	 (org-open-at-point 0))
        (looking-at-p "line1"))))
   (should
    (org-test-with-temp-text-in-file "Paragraph\n\nline1\n\nline2\n\n"
@@ -2236,7 +2236,7 @@ Foo Bar
        (insert (format "[[file:%s::line1 line2]]" file))
        (beginning-of-line)
        (let ((org-link-search-must-match-exact-headline nil))
-	 (org-open-at-point))
+	 (org-open-at-point 0))
        (looking-at-p "line1")))))
 
 ;;;; Link Escaping