Merge pull request #4792 from daanturo/fix-prompt-for-repl

Fix non-default REPL's format of command name.
This commit is contained in:
Henrik Lissner 2021-03-13 10:20:27 -05:00 committed by GitHub
commit fb3fc19705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@
(format "+%s/open-%srepl" module
(if (string= repl "default")
""
repl))))))
(concat repl "-")))))))
(let ((region (if (use-region-p)
(buffer-substring-no-properties (region-beginning)
(region-end)))))