Commit df410295 authored by Juri Linkov's avatar Juri Linkov

(desktop-buffers-not-to-save): Remove TAGS from the default value.

(desktop-modes-not-to-save): Add tags-table-mode to the default value.
parent 0f518b6b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment