emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/julia-mode c2f0ed8 235/352: julia-mode: Fix prompt regexp


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode c2f0ed8 235/352: julia-mode: Fix prompt regexp
Date: Sun, 29 Aug 2021 11:22:52 -0400 (EDT)

branch: elpa/julia-mode
commit c2f0ed8603acd03d23290e5429679ca0a60ab677
Author: justbur <justin@burkett.cc>
Commit: Yichao Yu <yyc1992@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]