Commit 2761c7e1 authored by Sebastian Wiesner's avatar Sebastian Wiesner

Use standard input for rst checker

See GH-767
parent 1d7bb301
......@@ -7498,11 +7498,13 @@ part of a Sphinx project."
See URL `'."
;; We need to use source-inplace to properly resolve relative paths in
;; include:: directives
:command ("" "--report=2" "--halt=5" source-inplace)
:command ("" "--report=2" "--halt=5"
;; Read from standard input and throw output away
"-" null-device)
:standard-input t
((warning line-start (file-name) ":" line ": (WARNING/2) " (message) line-end)
(error line-start
(file-name) ":" line
((warning line-start "<stdin>:" line ": (WARNING/2) " (message) line-end)
(error line-start "<stdin>:" line
": (" (or "ERROR/3" "SEVERE/4") ") "
(message) line-end))
:modes rst-mode)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment