Function: prolog-old-process-region
prolog-old-process-region is a byte-compiled function defined in
prolog.el.gz.
Signature
(prolog-old-process-region COMPILEP START END)
Documentation
Process the region limited by START and END positions.
If COMPILEP is non-nil then use compilation, otherwise consulting.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/prolog.el.gz
(defun prolog-old-process-region (compilep start end)
"Process the region limited by START and END positions.
If COMPILEP is non-nil then use compilation, otherwise consulting."
(prolog-ensure-process)
;(let ((tmpfile prolog-temp-filename)
(let ((tmpfile (prolog-temporary-file))
;(process (get-process "prolog"))
(first-line (1+ (count-lines
(point-min)
(save-excursion
(goto-char start)
(point))))))
(write-region start end tmpfile)
(setq start (copy-marker start))
(with-current-buffer (prolog-inferior-buffer)
(compilation-forget-errors)
(compilation-fake-loc start tmpfile))
(process-send-string
"prolog" (prolog-build-prolog-command
compilep tmpfile (prolog-bsts buffer-file-name)
first-line))
(prolog-goto-prolog-process-buffer)))