diff options
| author | Juri Linkov | 2005-10-21 08:48:53 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-10-21 08:48:53 +0000 |
| commit | df410295caefb11d4682357d122b6e1fa39eaa1a (patch) | |
| tree | 1e6677a353630b8019d499d41ac46b912ee7e902 | |
| parent | 0f518b6bd9d257e6cdc422da9c24e471f43166e0 (diff) | |
| download | emacs-df410295caefb11d4682357d122b6e1fa39eaa1a.tar.gz emacs-df410295caefb11d4682357d122b6e1fa39eaa1a.zip | |
(desktop-buffers-not-to-save): Remove TAGS from the default value.
(desktop-modes-not-to-save): Add tags-table-mode to the default value.
| -rw-r--r-- | lisp/desktop.el | 7 |
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) |