Преглед на файлове

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

Skip Collins преди 8 години
родител
ревизия
90f5c0d1a4
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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