This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun my-pg-preprocessor (coq-sentence) | |
"Run COQ-SENTENCE through preprocessor and return the result." | |
(let ((preprocessor (with-current-buffer proof-script-buffer | |
(expand-file-name "./preprocessor.rb")))) | |
(with-temp-buffer | |
(insert coq-sentence) | |
(call-process-region (point-min) (point-max) preprocessor t '(t nil) nil) | |
(buffer-string)))) | |
(defun my-pg-preprocessor-hook () |
NewerOlder