# HG changeset patch # User Juri Linkov # Date 1129884533 0 # Node ID 8926d6f2f2674490470261795ab5c652ad2d7b3e # Parent 3f62e030a05848ecba5180673e106597912268f3 (desktop-buffers-not-to-save): Remove TAGS from the default value. (desktop-modes-not-to-save): Add tags-table-mode to the default value. diff -r 3f62e030a058 -r 8926d6f2f267 lisp/desktop.el --- a/lisp/desktop.el Fri Oct 21 08:48:04 2005 +0000 +++ b/lisp/desktop.el Fri Oct 21 08:48:53 2005 +0000 @@ -293,9 +293,8 @@ ;; We skip .log files because they are normally temporary. ;; (ftp) files because they require passwords and whatnot. -;; TAGS files to save time (tags-file-name is saved instead). (defcustom desktop-buffers-not-to-save - "\\(^nn\\.a[0-9]+\\|\\.log\\|(ftp)\\|^tags\\|^TAGS\\)$" + "\\(^nn\\.a[0-9]+\\|\\.log\\|(ftp)\\)$" "Regexp identifying buffers that are to be excluded from saving." :type 'regexp :group 'desktop) @@ -307,7 +306,9 @@ :type 'regexp :group 'desktop) -(defcustom desktop-modes-not-to-save nil +;; We skip TAGS files to save time (tags-file-name is saved instead). +(defcustom desktop-modes-not-to-save + '(tags-table-mode) "List of major modes whose buffers should not be saved." :type '(repeat symbol) :group 'desktop)