Disable undo in eshell buffers

This commit is contained in:
Tom Willemse 2013-04-27 15:42:20 +02:00
parent d5dcfc5300
commit b7c74aded0

View file

@ -506,6 +506,17 @@
(global-set-key (kbd "<f8>") 'oni:raise-eshell)
#+END_SRC
* Disable undo in eshell buffers :eshell:
Eshell buffers can get big and undo does not serve any real purpose
in these buffers. Instead of getting boundary limit popups all the
time, which I do want to keep for other buffers, it's easier to
just turn off undo information for such buffers.
#+BEGIN_SRC emacs-lisp
(add-hook 'eshell-mode-hook 'buffer-disable-undo)
#+END_SRC
* Disable bidirectional support :bidi:
Since I don't ever get any mail from people that use right-to-left