branch: elpa/julia-mode commit c2f0ed8603acd03d23290e5429679ca0a60ab677 Author: justbur <jus...@burkett.cc> Commit: Yichao Yu <yyc1...@gmail.com>
julia-mode: Fix prompt regexp Fixes #14002 The primary problem was the lack of a space at the end of the regexp, which didn't match the output of the shell process (does have a space). This meant that emacs sometimes placed the point one character before the end of the buffer, which prevented M-p from working. This new regexp also allows for other prompts, such as "shell> " --- julia-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/julia-mode.el b/julia-mode.el index bd5e792..0907483 100644 --- a/julia-mode.el +++ b/julia-mode.el @@ -3202,7 +3202,7 @@ y2 = g(x)")) :type 'string :group 'julia) -(defvar julia-prompt-regexp "julia>" +(defvar julia-prompt-regexp "^\\w*> " "Regexp for matching `inferior-julia' prompt.") (defvar inferior-julia-mode-map