如何检测Emacs comint-mode中正在运行的shell?

Ser*_*gey 2 emacs

我在Emacs中有一个shell但是major-mode给了我一个comint-mode.
有没有办法确定哪种类型的shell?

也许Emacs的功能被称为启动它?
或者至少是解释器的可执行文件是什么?

小智 5

M-:(process-command (get-buffer-process (current-buffer)))