emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/pacmacs 8e00815b4f 253/472: Disable undo for Pacmacs buffe


From: ELPA Syncer
Subject: [nongnu] elpa/pacmacs 8e00815b4f 253/472: Disable undo for Pacmacs buffer. Close #143
Date: Thu, 6 Jan 2022 21:59:29 -0500 (EST)

branch: elpa/pacmacs
commit 8e00815b4f3bd790ce612aa1c9fba66613682afb
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>

    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

[Prev in Thread] Current Thread [Next in Thread]