summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1995-07-05 23:01:43 (GMT)
committerBarry Warsaw <barry@python.org>1995-07-05 23:01:43 (GMT)
commit4dba7e2b675620aafac1093e992d7c49d15ee9e1 (patch)
tree82f3092b819092fad0b224b6497354662e5f22df /Misc
parent4d82c9aef589a4135f90f43e0f8b9ed0fa2c8cb3 (diff)
downloadcpython-4dba7e2b675620aafac1093e992d7c49d15ee9e1.zip
cpython-4dba7e2b675620aafac1093e992d7c49d15ee9e1.tar.gz
cpython-4dba7e2b675620aafac1093e992d7c49d15ee9e1.tar.bz2
(py-append-to-process-buffer): XEmacs doesn't have last-input-start or
last-input-end either!
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python-mode.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index ca1415a..ea6c1ef 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -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))