branch: externals/coterm commit a578c9461822257ee6d0e122bc7ce749216dca4b Author: Miha Rihtaršič <m...@kamnitnik.top> Commit: Miha Rihtaršič <m...@kamnitnik.top>
Further improve "less" secondary prompt detection --- coterm.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/coterm.el b/coterm.el index 557f6a3..c8f4f68 100644 --- a/coterm.el +++ b/coterm.el @@ -367,8 +367,14 @@ that char mode is maintained even if the user presses \"/\", (progn (forward-line 0) (prog1 (looking-at (concat - "\\(?: ESC\\| :\\|-\\)\\'\\|" - "Examine: \\|[/:]")) + "\\(?: ESC\\| :\\)\\'\\|" + "Examine: \\|" + "[Ll]og file: \\|" + "Target line: \\|" + "Backwards scroll limit: \\|" + "\\(?:set \\|goto \\||\\)mark: \\|" + "[:_+!-]\\|" + "\\(?:.* \\)?[/?]")) (goto-char (point-max)))) (rem-hook)))) (rem-hook ()