]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(py-append-to-process-buffer): XEmacs doesn't have last-input-start or
authorBarry Warsaw <barry@python.org>
Wed, 5 Jul 1995 23:01:43 +0000 (23:01 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 5 Jul 1995 23:01:43 +0000 (23:01 +0000)
last-input-end either!

Misc/python-mode.el

index ca1415aec53f0609cad5f8639a5ffb0c9cf2df49..ea6c1efd35d324e1619a6acae33a3f79cb27c4f5 100644 (file)
@@ -1945,10 +1945,12 @@ local bindings to py-newline-and-indent."))
     (set-buffer pbuf)
     (goto-char (point-max))
     (move-marker (process-mark process) (point))
-    (if (not py-this-is-emacs-19-p)
+    (if (not (or py-this-is-emacs-19-p
+                py-this-is-lucid-emacs-p))
        (move-marker last-input-start (point))) ; muck w/ shell-mode
     (funcall (process-filter process) process string)
-    (if (not py-this-is-emacs-19-p)
+    (if (not (or py-this-is-emacs-19-p
+                py-this-is-lucid-emacs-p))
        (move-marker last-input-end (point))) ; muck w/ shell-mode
     (set-buffer cbuf))
   (sit-for 0))