Skip to content

Commit

Permalink
Minor tweaks to hol-mode's configuration of comint
Browse files Browse the repository at this point in the history
  • Loading branch information
mn200 committed Nov 30, 2024
1 parent 409fbbf commit 170d36c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/editor-modes/emacs/hol-mode.src
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ region instead. With prefix ARG prompt for a file-name to load."
(setq hol-buffer-name (buffer-name buf))
(set-buffer hol-buffer-name)))

(setq comint-prompt-regexp "^- ")
(setq comint-prompt-regexp "^> ")
;; must go to ridiculous lengths to ensure that font-lock-mode is
;; turned off and stays off
(font-lock-mode 0)
Expand All @@ -977,6 +977,7 @@ region instead. With prefix ARG prompt for a file-name to load."
(setq comint-preoutput-filter-functions '(holpp-output-filter))
(setq comint-scroll-show-maximum-output t)
(setq comint-scroll-to-bottom-on-output t)
(setq comint-output-filter-functions '(comint-postoutput-scroll-to-bottom))
(hol-mode-init-sml)
(send-raw-string-to-hol
"val _ = Parse.current_backend := PPBackEnd.emacs_terminal;" nil)
Expand Down

0 comments on commit 170d36c

Please sign in to comment.