diff options
Diffstat (limited to 'lisp/org/ob-python.el')
| -rw-r--r-- | lisp/org/ob-python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/ob-python.el b/lisp/org/ob-python.el index 8a3c24f7038..f881918c75c 100644 --- a/lisp/org/ob-python.el +++ b/lisp/org/ob-python.el | |||
| @@ -269,7 +269,7 @@ results as a string." | |||
| 269 | "Return non-nil if the last prompt matches input prompt. | 269 | "Return non-nil if the last prompt matches input prompt. |
| 270 | Backport of `python-util-comint-end-of-output-p' to emacs28. To | 270 | Backport of `python-util-comint-end-of-output-p' to emacs28. To |
| 271 | be removed after minimum supported version reaches emacs29." | 271 | be removed after minimum supported version reaches emacs29." |
| 272 | (when-let ((prompt (python-util-comint-last-prompt))) | 272 | (when-let* ((prompt (python-util-comint-last-prompt))) |
| 273 | (python-shell-comint-end-of-output-p | 273 | (python-shell-comint-end-of-output-p |
| 274 | (buffer-substring-no-properties | 274 | (buffer-substring-no-properties |
| 275 | (car prompt) (cdr prompt))))) | 275 | (car prompt) (cdr prompt))))) |