From: Glenn Morris Date: Fri, 2 Nov 2007 08:18:24 +0000 (+0000) Subject: (tags-table-mode): Disable undo. X-Git-Tag: emacs-pretest-23.0.90~9887 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ec19a118891ea490afe51b72200a50af7fb9687;p=emacs.git (tags-table-mode): Disable undo. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c4c6b1cb8a9..c9987ff1f5a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -3,6 +3,8 @@ * newcomment.el (comment-indent): Let comment-insert-comment-function, if defined, do all the work of inserting a new comment. + * progmodes/etags.el (tags-table-mode): Disable undo. + * simple.el (bad-packages-alist): Revert previous change. 2007-11-02 Dan Nicolaescu diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 275773049e7..c5d5413c458 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -277,8 +277,9 @@ One argument, the tag info returned by `snarf-tag-function'.") (defun tags-table-mode () "Major mode for tags table file buffers." (interactive) - (setq major-mode 'tags-table-mode) - (setq mode-name "Tags Table") + (setq major-mode 'tags-table-mode + mode-name "Tags Table" + buffer-undo-list t) (initialize-new-tags-table)) ;;;###autoload