Disable undo in eshell buffers
This commit is contained in:
parent
d5dcfc5300
commit
b7c74aded0
1 changed files with 85 additions and 74 deletions
|
@ -506,6 +506,17 @@
|
||||||
(global-set-key (kbd "<f8>") 'oni:raise-eshell)
|
(global-set-key (kbd "<f8>") 'oni:raise-eshell)
|
||||||
#+END_SRC
|
#+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:
|
* Disable bidirectional support :bidi:
|
||||||
|
|
||||||
Since I don't ever get any mail from people that use right-to-left
|
Since I don't ever get any mail from people that use right-to-left
|
||||||
|
|
Loading…
Reference in a new issue