summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-24 08:01:36 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-24 08:01:36 -0700
commite3114736b44f5ef0348f0174fff30d4533f7c842 (patch)
treedfe35aa4ccd5c2e32123553c079252eff72ae483
parentfix(eshell): drop the bookmark module (diff)
downloademacs.d-e3114736b44f5ef0348f0174fff30d4533f7c842.tar.gz
fix(eshell): don't enable eshell's smart mode
For reasons I don't understand, performances degrade immediately once an
eshell buffer size grows. I find the behavior annoying anyway so let's
remove it.

Change-Id: Ia5ca2391d1ed11ae4b7c2102131159f0cdfbcb59
-rw-r--r--emacs/custom/my-eshell.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/emacs/custom/my-eshell.el b/emacs/custom/my-eshell.el
index bd3b192..dfbe025 100644
--- a/emacs/custom/my-eshell.el
+++ b/emacs/custom/my-eshell.el
@@ -30,7 +30,6 @@
 (require 'em-dirs)
 (require 'em-glob)
 (require 'em-hist)
-(require 'em-smart)
 (require 'em-term)
 (require 'em-tramp)
 (require 'em-prompt)
@@ -181,13 +180,11 @@ append to it, while separating multiple outputs with
 (customize-set-variable 'eshell-highlight-prompt nil)
 (customize-set-variable 'eshell-where-to-jump 'begin)
 (customize-set-variable 'eshell-review-quick-commands nil)
-(customize-set-variable 'eshell-smart-space-goes-to-end t)
 (customize-set-variable 'tramp-shell-prompt-pattern "^[^$>\n]*[#$%>] *\\(customize-set-variable '\[[0-9;]*[a-zA-Z] *\\)*")
 (customize-set-variable 'eshell-destroy-buffer-when-process-dies t)
 
 (add-hook 'eshell-mode-hook 'my/eshell-mode-setup)
 (add-hook 'eshell-mode-hook 'my/eshell-current-command-time-track)
-(add-hook 'eshell-mode-hook 'eshell-smart-initialize)
 
 (provide 'my-eshell)