Changeset 3945 for trunk/lisp/desktop.el
- Timestamp:
- 11/02/05 00:34:59 (3 years ago)
- Files:
-
- trunk/lisp/desktop.el (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/desktop.el
r3894 r3945 294 294 ;; We skip .log files because they are normally temporary. 295 295 ;; (ftp) files because they require passwords and whatnot. 296 ;; TAGS files to save time (tags-file-name is saved instead).297 296 (defcustom desktop-buffers-not-to-save 298 "\\(^nn\\.a[0-9]+\\|\\.log\\|(ftp)\\ |^tags\\|^TAGS\\)$"297 "\\(^nn\\.a[0-9]+\\|\\.log\\|(ftp)\\)$" 299 298 "Regexp identifying buffers that are to be excluded from saving." 300 299 :type 'regexp … … 308 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 312 "List of major modes whose buffers should not be saved." 312 313 :type '(repeat symbol) … … 964 965 (defun desktop-load-file (function) 965 966 "Load the file where auto loaded FUNCTION is defined." 966 (let ((fcell (symbol-function function))) 967 (when (and (listp fcell) 968 (eq 'autoload (car fcell))) 969 (load (cadr fcell))))) 967 (when function 968 (let ((fcell (symbol-function function))) 969 (when (and (listp fcell) 970 (eq 'autoload (car fcell))) 971 (load (cadr fcell)))))) 970 972 971 973 ;; ----------------------------------------------------------------------------
