aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/desktop.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 0d5d18da191..087cb77f39d 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -293,9 +293,8 @@ modes are restored automatically; they should not be listed here."
293 293
294;; We skip .log files because they are normally temporary. 294;; We skip .log files because they are normally temporary.
295;; (ftp) files because they require passwords and whatnot. 295;; (ftp) files because they require passwords and whatnot.
296;; TAGS files to save time (tags-file-name is saved instead).
297(defcustom desktop-buffers-not-to-save 296(defcustom desktop-buffers-not-to-save
298 "\\(^nn\\.a[0-9]+\\|\\.log\\|(ftp)\\|^tags\\|^TAGS\\)$" 297 "\\(^nn\\.a[0-9]+\\|\\.log\\|(ftp)\\)$"
299 "Regexp identifying buffers that are to be excluded from saving." 298 "Regexp identifying buffers that are to be excluded from saving."
300 :type 'regexp 299 :type 'regexp
301 :group 'desktop) 300 :group 'desktop)
@@ -307,7 +306,9 @@ modes are restored automatically; they should not be listed here."
307 :type 'regexp 306 :type 'regexp
308 :group 'desktop) 307 :group 'desktop)
309 308
310(defcustom desktop-modes-not-to-save nil 309;; We skip TAGS files to save time (tags-file-name is saved instead).
310(defcustom desktop-modes-not-to-save
311 '(tags-table-mode)
311 "List of major modes whose buffers should not be saved." 312 "List of major modes whose buffers should not be saved."
312 :type '(repeat symbol) 313 :type '(repeat symbol)
313 :group 'desktop) 314 :group 'desktop)