mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
(py-append-to-process-buffer): XEmacs doesn't have last-input-start or
last-input-end either!
This commit is contained in:
parent
4d82c9aef5
commit
4dba7e2b67
1 changed files with 4 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue