Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4dba7e2

Browse files
committed
(py-append-to-process-buffer): XEmacs doesn't have last-input-start or
last-input-end either!
1 parent 4d82c9a commit 4dba7e2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Misc/python-mode.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,10 +1945,12 @@ local bindings to py-newline-and-indent."))
19451945
(set-buffer pbuf)
19461946
(goto-char (point-max))
19471947
(move-marker (process-mark process) (point))
1948-
(if (not py-this-is-emacs-19-p)
1948+
(if (not (or py-this-is-emacs-19-p
1949+
py-this-is-lucid-emacs-p))
19491950
(move-marker last-input-start (point))) ; muck w/ shell-mode
19501951
(funcall (process-filter process) process string)
1951-
(if (not py-this-is-emacs-19-p)
1952+
(if (not (or py-this-is-emacs-19-p
1953+
py-this-is-lucid-emacs-p))
19521954
(move-marker last-input-end (point))) ; muck w/ shell-mode
19531955
(set-buffer cbuf))
19541956
(sit-for 0))

0 commit comments

Comments
 (0)