changeset 66278:8926d6f2f267

(desktop-buffers-not-to-save): Remove TAGS from the default value. (desktop-modes-not-to-save): Add tags-table-mode to the default value.
author Juri Linkov <juri@jurta.org>
date Fri, 21 Oct 2005 08:48:53 +0000
parents 3f62e030a058
children c12719e4ec89
files lisp/desktop.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)