branch: externals/comint-mime commit bb9a1adba84d6bba8b75039d0797b4a02c8c6614 Author: Augusto Stoffel <arstof...@gmail.com> Commit: Augusto Stoffel <arstof...@gmail.com>
Hide setup from shell history, at least when "ignorespace" is set --- comint-mime.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comint-mime.el b/comint-mime.el index 6071730..04f53a6 100644 --- a/comint-mime.el +++ b/comint-mime.el @@ -219,9 +219,9 @@ from `comint-mode', or interactively after starting the comint." (add-hook 'comint-output-filter-functions 'comint-mime-setup-shell nil t) (remove-hook 'comint-output-filter-functions 'comint-mime-setup-shell t) (comint-redirect-send-command - (format ". %s\n" (shell-quote-argument - (expand-file-name "comint-mime.sh" - comint-mime-setup-script-dir))) + (format " . %s\n" (shell-quote-argument + (expand-file-name "comint-mime.sh" + comint-mime-setup-script-dir))) nil nil t))) (push '(shell-mode . comint-mime-setup-shell)