mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-21 18:23:59 +00:00
(compilation-error-regexp-alist, compilation-forget-errors): Declare.
This commit is contained in:
parent
df1c29a0a0
commit
a569b48010
@ -247,6 +247,7 @@ rigidly along with this one (not yet)."
|
|||||||
(declare-function comint-send-string "comint" (process string))
|
(declare-function comint-send-string "comint" (process string))
|
||||||
(declare-function comint-send-region "comint" (process start end))
|
(declare-function comint-send-region "comint" (process start end))
|
||||||
(declare-function comint-send-eof "comint" ())
|
(declare-function comint-send-eof "comint" ())
|
||||||
|
(defvar compilation-error-regexp-alist)
|
||||||
|
|
||||||
(define-derived-mode inferior-prolog-mode comint-mode "Inferior Prolog"
|
(define-derived-mode inferior-prolog-mode comint-mode "Inferior Prolog"
|
||||||
"Major mode for interacting with an inferior Prolog process.
|
"Major mode for interacting with an inferior Prolog process.
|
||||||
@ -394,6 +395,9 @@ If COMPILE (prefix arg) is not nil, use compile mode rather than consult mode."
|
|||||||
(prolog-consult-region compile beg end)
|
(prolog-consult-region compile beg end)
|
||||||
(pop-to-buffer inferior-prolog-buffer))
|
(pop-to-buffer inferior-prolog-buffer))
|
||||||
|
|
||||||
|
;; inferior-prolog-mode uses the autoloaded compilation-shell-minor-mode.
|
||||||
|
(declare-function compilation-forget-errors "compile" ())
|
||||||
|
|
||||||
(defun inferior-prolog-load-file ()
|
(defun inferior-prolog-load-file ()
|
||||||
"Pass the current buffer's file to the inferior prolog process."
|
"Pass the current buffer's file to the inferior prolog process."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
Loading…
Reference in New Issue
Block a user