]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/prolog.el
from trunk
[gnu-emacs] / lisp / progmodes / prolog.el
index d422d85b13a0d6d566ae33135813001c48a1b65d..197b41506bd1718adf22efa9741d914f4828de0c 100644 (file)
@@ -1,7 +1,7 @@
 ;;; prolog.el --- major mode for editing and running Prolog under Emacs
 
 ;; Copyright (C) 1986, 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-;;   2008, 2009  Free Software Foundation, Inc.
+;;   2008, 2009, 2010  Free Software Foundation, Inc.
 
 ;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp>
 ;; Keywords: languages
@@ -247,6 +247,7 @@ rigidly along with this one (not yet)."
 (declare-function comint-send-string "comint" (process string))
 (declare-function comint-send-region "comint" (process start end))
 (declare-function comint-send-eof "comint" ())
+(defvar compilation-error-regexp-alist)
 
 (define-derived-mode inferior-prolog-mode comint-mode "Inferior Prolog"
   "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)
   (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 ()
   "Pass the current buffer's file to the inferior prolog process."
   (interactive)