aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/desktop.el
diff options
context:
space:
mode:
authorJuri Linkov <[email protected]>2005-10-21 08:48:53 +0000
committerJuri Linkov <[email protected]>2005-10-21 08:48:53 +0000
commitdf410295caefb11d4682357d122b6e1fa39eaa1a (patch)
tree1e6677a353630b8019d499d41ac46b912ee7e902 /lisp/desktop.el
parent0f518b6bd9d257e6cdc422da9c24e471f43166e0 (diff)
(desktop-buffers-not-to-save): Remove TAGS from the default value.
(desktop-modes-not-to-save): Add tags-table-mode to the default value.
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r--lisp/desktop.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 0d5d18da19..087cb77f39 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -293,9 +293,8 @@ modes are restored automatically; they should not be listed here."
;; 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 @@ modes are restored automatically; they should not be listed here."
: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)