Show
Ignore:
Timestamp:
07/29/06 07:48:34 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/files.el

    r4111 r4131  
    4545 
    4646(defcustom delete-auto-save-files t 
    47   "*Non-nil means delete auto-save file when a buffer is saved or killed. 
     47  "Non-nil means delete auto-save file when a buffer is saved or killed. 
    4848 
    4949Note that the auto-save file will not be deleted if the buffer is killed 
     
    5454(defcustom directory-abbrev-alist 
    5555  nil 
    56   "*Alist of abbreviations for file directories. 
     56  "Alist of abbreviations for file directories. 
    5757A list of elements of the form (FROM . TO), each meaning to replace 
    5858FROM with TO when it appears in a directory name.  This replacement is 
     
    7575;; Turn off backup files on VMS since it has version numbers. 
    7676(defcustom make-backup-files (not (eq system-type 'vax-vms)) 
    77   "*Non-nil means make a backup of a file the first time it is saved. 
     77  "Non-nil means make a backup of a file the first time it is saved. 
    7878This can be done by renaming the file or by copying. 
    7979 
     
    104104 
    105105(defcustom backup-by-copying nil 
    106  "*Non-nil means always use copying to create backup files. 
     106 "Non-nil means always use copying to create backup files. 
    107107See documentation of variable `make-backup-files'." 
    108108 :type 'boolean 
     
    110110 
    111111(defcustom backup-by-copying-when-linked nil 
    112  "*Non-nil means use copying to create backups for files with multiple names. 
     112 "Non-nil means use copying to create backups for files with multiple names. 
    113113This causes the alternate names to refer to the latest version as edited. 
    114114This variable is relevant only if `backup-by-copying' is nil." 
     
    117117 
    118118(defcustom backup-by-copying-when-mismatch nil 
    119   "*Non-nil means create backups by copying if this preserves owner or group. 
     119  "Non-nil means create backups by copying if this preserves owner or group. 
    120120Renaming may still be used (subject to control of other variables) 
    121121when it would not result in changing the owner or group of the file; 
     
    127127 
    128128(defcustom backup-by-copying-when-privileged-mismatch 200 
    129   "*Non-nil means create backups by copying to preserve a privileged owner. 
     129  "Non-nil means create backups by copying to preserve a privileged owner. 
    130130Renaming may still be used (subject to control of other variables) 
    131131when it would not result in changing the owner of the file or if the owner 
     
    143143 
    144144(defcustom buffer-offer-save nil 
    145   "*Non-nil in a buffer means always offer to save buffer on exit. 
     145  "Non-nil in a buffer means always offer to save buffer on exit. 
    146146Do so even if the buffer is not visiting a file. 
    147147Automatically local in all buffers." 
     
    151151 
    152152(defcustom find-file-existing-other-name t 
    153   "*Non-nil means find a file under alternative names, in existing buffers. 
     153  "Non-nil means find a file under alternative names, in existing buffers. 
    154154This means if any existing buffer is visiting the file you want 
    155155under another name, you get the existing buffer instead of a new buffer." 
     
    166166 
    167167(defcustom revert-without-query nil 
    168   "*Specify which files should be reverted without query. 
     168  "Specify which files should be reverted without query. 
    169169The value is a list of regular expressions. 
    170170If the file name matches one of these regular expressions, 
     
    227227 
    228228(defcustom file-precious-flag nil 
    229   "*Non-nil means protect against I/O errors while saving files. 
     229  "Non-nil means protect against I/O errors while saving files. 
    230230Some modes set this non-nil in particular buffers. 
    231231 
     
    242242 
    243243(defcustom version-control nil 
    244   "*Control use of version numbers for backup files. 
     244  "Control use of version numbers for backup files. 
    245245t means make numeric backup versions unconditionally. 
    246246nil means make them for files that have some already. 
     
    255255 
    256256(defcustom dired-kept-versions 2 
    257   "*When cleaning directory, number of versions to keep." 
     257  "When cleaning directory, number of versions to keep." 
    258258  :type 'integer 
    259259  :group 'backup 
     
    261261 
    262262(defcustom delete-old-versions nil 
    263   "*If t, delete excess backup versions silently. 
     263  "If t, delete excess backup versions silently. 
    264264If nil, ask confirmation.  Any other value prevents any trimming." 
    265265  :type '(choice (const :tag "Delete" t) 
     
    269269 
    270270(defcustom kept-old-versions 2 
    271   "*Number of oldest versions to keep when a new numbered backup is made." 
     271  "Number of oldest versions to keep when a new numbered backup is made." 
    272272  :type 'integer 
    273273  :group 'backup) 
     
    275275 
    276276(defcustom kept-new-versions 2 
    277   "*Number of newest versions to keep when a new numbered backup is made. 
     277  "Number of newest versions to keep when a new numbered backup is made. 
    278278Includes the new backup.  Must be > 0" 
    279279  :type 'integer 
     
    282282 
    283283(defcustom require-final-newline nil 
    284   "*Whether to add a newline automatically at the end of the file. 
     284  "Whether to add a newline automatically at the end of the file. 
    285285 
    286286A value of t means do this only when the file is about to be saved. 
     
    300300 
    301301(defcustom mode-require-final-newline t 
    302   "*Whether to add a newline at end of file, in certain major modes. 
     302  "Whether to add a newline at end of file, in certain major modes. 
    303303Those modes set `require-final-newline' to this value when you enable them. 
    304304They do so because they are often used for files that are supposed 
     
    323323 
    324324(defcustom auto-save-default t 
    325   "*Non-nil says by default do auto-saving of every file-visiting buffer." 
     325  "Non-nil says by default do auto-saving of every file-visiting buffer." 
    326326  :type 'boolean 
    327327  :group 'auto-save) 
    328328 
    329329(defcustom auto-save-visited-file-name nil 
    330   "*Non-nil says auto-save a buffer in the file it is visiting, when practical. 
     330  "Non-nil says auto-save a buffer in the file it is visiting, when practical. 
    331331Normally auto-save files are written under other names." 
    332332  :type 'boolean 
     
    338338     ;; transformed to "/2" on DOS/Windows. 
    339339     ,(concat temporary-file-directory "\\2") t)) 
    340   "*Transforms to apply to buffer file name before making auto-save file name. 
     340  "Transforms to apply to buffer file name before making auto-save file name. 
    341341Each transform is a list (REGEXP REPLACEMENT UNIQUIFY): 
    342342REGEXP is a regular expression to match against the file name. 
     
    365365 
    366366(defcustom save-abbrevs t 
    367   "*Non-nil means save word abbrevs too when files are saved. 
     367  "Non-nil means save word abbrevs too when files are saved. 
    368368If `silently', don't ask the user before saving." 
    369369  :type '(choice (const t) (const nil) (const silently)) 
     
    371371 
    372372(defcustom find-file-run-dired t 
    373   "*Non-nil means allow `find-file' to visit directories. 
     373  "Non-nil means allow `find-file' to visit directories. 
    374374To visit the directory, `find-file' runs `find-directory-functions'." 
    375375  :type 'boolean 
     
    377377 
    378378(defcustom find-directory-functions '(cvs-dired-noselect dired-noselect) 
    379   "*List of functions to try in sequence to visit a directory. 
     379  "List of functions to try in sequence to visit a directory. 
    380380Each function is called with the directory name as the sole argument 
    381381and should return either a buffer or nil." 
     
    449449 
    450450(defcustom enable-local-variables t 
    451   "*Control use of local variables in files you visit. 
     451  "Control use of local variables in files you visit. 
    452452The value can be t, nil, :safe, or something else. 
    453453 
     
    507507 
    508508(defcustom view-read-only nil 
    509   "*Non-nil means buffers visiting files read-only do so in view mode. 
     509  "Non-nil means buffers visiting files read-only do so in view mode. 
    510510In fact, this means that all read-only buffers normally have 
    511511View mode enabled, including buffers that are read-only because 
     
    13251325 
    13261326(defcustom find-file-not-true-dirname-list nil 
    1327   "*List of logical names for which visiting shouldn't save the true dirname. 
     1327  "List of logical names for which visiting shouldn't save the true dirname. 
    13281328On VMS, when you visit a file using a logical name that searches a path, 
    13291329you may or may not want the visited file name to record the specific 
     
    13741374  
    13751375(defcustom find-file-wildcards t 
    1376   "*Non-nil means file-visiting commands should handle wildcards. 
     1376  "Non-nil means file-visiting commands should handle wildcards. 
    13771377For example, if you specify `*.c', that would visit all the files 
    13781378whose names match the pattern." 
     
    13821382 
    13831383(defcustom find-file-suppress-same-file-warnings nil 
    1384   "*Non-nil means suppress warning messages for symlinked files. 
     1384  "Non-nil means suppress warning messages for symlinked files. 
    13851385When nil, Emacs prints a warning when visiting a file that is already 
    13861386visited, but with a different name.  Setting this option to t 
     
    23042304 
    23052305(defcustom safe-local-eval-forms nil 
    2306   "*Expressions that are considered safe in an `eval:' local variable. 
     2306  "Expressions that are considered safe in an `eval:' local variable. 
    23072307Add expressions to this list if you want Emacs to evaluate them, when 
    23082308they appear in an `eval' local variable specification, without first 
     
    27652765  
    27662766(defcustom change-major-mode-with-file-name t 
    2767   "*Non-nil means \\[write-file] should set the major mode from the file name. 
     2767  "Non-nil means \\[write-file] should set the major mode from the file name. 
    27682768However, the mode will not be changed if 
    27692769\(1) a local variables list or the `-*-' line specifies a major mode, or 
     
    45004500(defcustom list-directory-brief-switches 
    45014501  (if (eq system-type 'vax-vms) "" "-CF") 
    4502   "*Switches for `list-directory' to pass to `ls' for brief listing." 
     4502  "Switches for `list-directory' to pass to `ls' for brief listing." 
    45034503  :type 'string 
    45044504  :group 'dired) 
     
    45084508      "/PROTECTION/SIZE/DATE/OWNER/WIDTH=(OWNER:10)" 
    45094509    "-l") 
    4510   "*Switches for `list-directory' to pass to `ls' for verbose listing." 
     4510  "Switches for `list-directory' to pass to `ls' for verbose listing." 
    45114511  :type 'string 
    45124512  :group 'dired) 
     
    46394639 
    46404640(defcustom directory-free-space-program "df" 
    4641   "*Program to get the amount of free space on a file system. 
     4641  "Program to get the amount of free space on a file system. 
    46424642We assume the output has the format of `df'. 
    46434643The value of this variable must be just a command name or file name; 
     
    46534653(defcustom directory-free-space-args 
    46544654  (if (eq system-type 'darwin) "-k" "-Pk") 
    4655   "*Options to use when running `directory-free-space-program'." 
     4655  "Options to use when running `directory-free-space-program'." 
    46564656  :type 'string 
    46574657  :group 'dired)