branch: elpa/pacmacs
commit 8e00815b4f3bd790ce612aa1c9fba66613682afb
Author: rexim <[email protected]>
Commit: rexim <[email protected]>

    Disable undo for Pacmacs buffer. Close #143
---
 pacmacs.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pacmacs.el b/pacmacs.el
index ffd3103b74..0489b93d27 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -95,6 +95,7 @@
 
 (defun pacmacs--initialize-game (tick-function)
   (switch-to-buffer pacmacs-buffer-name)
+  (buffer-disable-undo pacmacs-buffer-name)
 
   (setq pacmacs-lives 3)
   (setq pacmacs-score 0)

Reply via email to