matlab-shell.el:

(matlab-shell-second-prompt-fcn): Fix to remove the correct hook.
This commit is contained in:
Eric Ludlam 2019-11-28 20:26:35 -05:00
parent bcae0c69e1
commit 2f3f3fe9e5

View file

@ -873,7 +873,7 @@ Sends commands to the MATLAB shell to initialize the MATLAB process."
(defun matlab-shell-second-prompt-fcn ()
"Hook to run when the first prompt AFTER the call to emacsinit."
(remove-hook 'matlab-shell-prompt-appears-hook #'matlab-shell-first-prompt-fcn)
(remove-hook 'matlab-shell-prompt-appears-hook #'matlab-shell-second-prompt-fcn)
(setq matlab-prompt-seen t))