Variable: tuareg-interactive-mode-abbrev-table
tuareg-interactive-mode-abbrev-table is a variable defined in
tuareg.el.
Value
#<obarray n=1>
Documentation
Abbrev table for tuareg-interactive-mode.
Source Code
;; Defined in /nix/store/6mbh851dhnag8f92qfrlh9ckldzwf6c6-emacs-packages-deps/share/emacs/site-lisp/elpa/tuareg-20260626.936/tuareg.el
(define-derived-mode tuareg-interactive-mode comint-mode "Tuareg-Interactive"
"Major mode for interacting with an OCaml process.
Runs an OCaml REPL as a subprocess of Emacs, with I/O through an
Emacs buffer. A history of input phrases is maintained. Phrases can
be sent from another buffer in tuareg mode.
Short cuts for interactions with the REPL:
\\{tuareg-interactive-mode-map}"
(add-hook 'comint-output-filter-functions #'tuareg-interactive-filter)
(setq comint-prompt-regexp "^# *")
(setq comint-process-echoes nil)
(setq comint-get-old-input 'tuareg-interactive-get-old-input)
(setq comint-scroll-to-bottom-on-output
tuareg-interactive-scroll-to-bottom-on-output)
(set-syntax-table tuareg-mode-syntax-table)
(setq-local comment-start "(* ")
(setq-local comment-end " *)")
(setq-local comment-start-skip "(\\*+[ \t]*")
(setq-local comint-prompt-read-only t)
(tuareg--common-mode-setup)
(tuareg--install-font-lock t)
(when (or tuareg-interactive-input-font-lock
tuareg-interactive-output-font-lock
tuareg-interactive-error-font-lock)
(font-lock-mode 1))
(tuareg-update-options-menu))