branch: elpa/aidermacs commit 3a7e313ce09467d07c2419fb0ff3ec8d93bf9ca1 Author: Mingde (Matthew) Zeng <matthew...@posteo.net> Commit: Mingde (Matthew) Zeng <matthew...@posteo.net>
Fix comint-prompt-regexp --- aidermacs-backend-comint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aidermacs-backend-comint.el b/aidermacs-backend-comint.el index 5d05bce041..387c32bb63 100644 --- a/aidermacs-backend-comint.el +++ b/aidermacs-backend-comint.el @@ -234,7 +234,7 @@ This allows for multi-line input without sending the command." (apply 'make-comint-in-buffer "aidermacs" buffer-name program nil args) (with-current-buffer buffer-name (comint-mode) - (setq-local comint-prompt-regexp "^> $") + (setq-local comint-prompt-regexp "[^[:space:]]*>[[:space:]]$") (setq-local comint-input-sender 'aidermacs-input-sender) (setq aidermacs--syntax-work-buffer (get-buffer-create (concat " *aidermacs-syntax" buffer-name)))