소스 검색

EXPERIMENTAL/org-e-latex.el (org-e-latex-collect-errors): Small fix

Nicolas Goaziou 13 년 전
부모
커밋
08bad014c7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      EXPERIMENTAL/org-e-latex.el

+ 2 - 2
EXPERIMENTAL/org-e-latex.el

@@ -1987,10 +1987,10 @@ none."
 		  (re-search-forward "Undefined control sequence" nil t))
 	    (setq errors (concat errors " [undefined control sequence]")))
 	  (when (save-excursion
-		  (re-search-forward "^! LaTeX.*?Error"))
+		  (re-search-forward "^! LaTeX.*?Error" nil t))
 	    (setq errors (concat errors " [LaTeX error]")))
 	  (when (save-excursion
-		  (re-search-forward "^! Package.*?Error"))
+		  (re-search-forward "^! Package.*?Error" nil t))
 	    (setq errors (concat errors " [package error]")))
 	  (and (org-string-nw-p errors) (org-trim errors)))))))