Function: lua-ts-inferior--write-history
lua-ts-inferior--write-history is a byte-compiled function defined in
lua-ts-mode.el.gz.
Signature
(lua-ts-inferior--write-history PROCESS _)
Documentation
Write history file for inferior Lua PROCESS.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-ts-mode.el.gz
(defun lua-ts-inferior--write-history (process _)
"Write history file for inferior Lua PROCESS."
;; Depending on how the process is killed the buffer may not be
;; around anymore; e.g. `kill-buffer'.
(when-let* ((buffer (process-buffer process))
((buffer-live-p (process-buffer process))))
(with-current-buffer buffer (comint-write-input-ring))))