/[emacs]/emacs/lisp/files.el
ViewVC logotype

Diff of /emacs/lisp/files.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.529.4.2 by eliz, Thu Nov 1 20:36:14 2001 UTC revision 1.529.4.3 by rms, Wed Nov 21 11:55:57 2001 UTC
# Line 282  Normally auto-save files are written und Line 282  Normally auto-save files are written und
282    :group 'auto-save)    :group 'auto-save)
283    
284  (defcustom auto-save-file-name-transforms  (defcustom auto-save-file-name-transforms
285    '(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)" "/tmp/\\2"))    `(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)"
286         ,(expand-file-name "\\2" temporary-file-directory)))
287    "*Transforms to apply to buffer file name before making auto-save file name.    "*Transforms to apply to buffer file name before making auto-save file name.
288  Each transform is a list (REGEXP REPLACEMENT):  Each transform is a list (REGEXP REPLACEMENT):
289  REGEXP is a regular expression to match against the file name.  REGEXP is a regular expression to match against the file name.
# Line 292  All the transforms in the list are tried Line 293  All the transforms in the list are tried
293  When one transform applies, its result is final;  When one transform applies, its result is final;
294  no further transforms are tried.  no further transforms are tried.
295    
296  The default value is set up to put the auto-save file into `/tmp'  The default value is set up to put the auto-save file into the
297  for editing a remote file."  temporary directory (see the variable `temporary-file-directory') for
298    editing a remote file."
299    :group 'auto-save    :group 'auto-save
300    :type '(repeat (list (string :tag "Regexp") (string :tag "Replacement")))    :type '(repeat (list (string :tag "Regexp") (string :tag "Replacement")))
301    :version "21.1")    :version "21.1")

Legend:
Removed from v.1.529.4.2  
changed lines
  Added in v.1.529.4.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26