[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/prolog.el,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/prolog.el,v |
Date: |
Fri, 19 Oct 2007 18:41:12 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 07/10/19 18:41:10
Index: progmodes/prolog.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/prolog.el,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- progmodes/prolog.el 26 Jul 2007 05:27:29 -0000 1.32
+++ progmodes/prolog.el 19 Oct 2007 18:41:09 -0000 1.33
@@ -31,7 +31,7 @@
;;; Code:
-(defvar comint-prompt-regexp)
+(eval-when-compile (require 'comint))
(defgroup prolog nil
@@ -269,6 +269,12 @@
(defvar inferior-prolog-buffer nil)
+(defvar inferior-prolog-flavor 'unknown
+ "Either a symbol or a buffer position offset by one.
+If a buffer position, the flavor has not been determined yet and
+it is expected that the process's output has been or will
+be inserted at that position plus one.")
+
(defun inferior-prolog-run (&optional name)
(with-current-buffer (make-comint "prolog" (or name prolog-program-name))
(inferior-prolog-mode)
@@ -302,12 +308,6 @@
;; Try again.
(inferior-prolog-process))))
-(defvar inferior-prolog-flavor 'unknown
- "Either a symbol or a buffer position offset by one.
-If a buffer position, the flavor has not been determined yet and
-it is expected that the process's output has been or will
-be inserted at that position plus one.")
-
(defun inferior-prolog-guess-flavor (&optional ignored)
(save-excursion
(goto-char (1+ inferior-prolog-flavor))
- [Emacs-diffs] Changes to emacs/lisp/progmodes/prolog.el,v,
Dan Nicolaescu <=