I have smart-tab mode as global minor mode on
(global-smart-tab-mode 1)
and you want to disable it in eshell mode,
(add-hook 'eshell-mode-hook (lambda () (smart-tab-mode -1)))
but it seems that this does not work, and I am sure that this hook is completed. If I manually started (smart-tab-mode -1) in eshell, everything is fine.
I donβt know why, can someone help me, thanks in advance!
source share