From a4382f9852d0ebe48edc922293f6eed262f6116f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 13 Oct 2007 12:55:26 +0000 Subject: [PATCH] (ebrowse-tree-mode): Disable undo in the BROWSE buffer. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/ebrowse.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 06d9f194553..1dfae3c8d3b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-10-13 Markus Gritsch (tiny change) + + * progmodes/ebrowse.el (ebrowse-tree-mode): Disable undo in the + BROWSE buffer. + 2007-10-13 Dan Nicolaescu * cus-start.el (all): Undo previous change. diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index 9264bb42ba2..5acbe70a074 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el @@ -1139,6 +1139,7 @@ Tree mode key bindings: (kill-all-local-variables) (use-local-map ebrowse-tree-mode-map) + (buffer-disable-undo) (unless (zerop (buffer-size)) (goto-char (point-min)) -- 2.39.5