fix utop-eval-input with allow-incomplete=t when the point is before the prompt
Ignore-this: a3dc2b3421588911f2770105081a8355 darcs-hash:20120321231655-c41ad-166ae6880230aa1f4d4eb616d221622523081c99
This commit is contained in:
parent
11cf629c46
commit
0fbf0ff84b
|
@ -600,7 +600,7 @@ If ADD-TO-HISTORY is t then the input will be added to history."
|
||||||
;; If the point is before the prompt, insert the newline
|
;; If the point is before the prompt, insert the newline
|
||||||
;; character at the end
|
;; character at the end
|
||||||
(when (< utop-pending-position 0)
|
(when (< utop-pending-position 0)
|
||||||
(setq utop-pending-position (- (point) utop-prompt-max)))))
|
(setq utop-pending-position (- (point-max) utop-prompt-max)))))
|
||||||
;; We are now waiting for ocaml
|
;; We are now waiting for ocaml
|
||||||
(utop-set-state 'wait)
|
(utop-set-state 'wait)
|
||||||
(utop-send-data
|
(utop-send-data
|
||||||
|
|
Loading…
Reference in New Issue