diff options
| author | Richard M. Stallman | 1992-07-22 19:24:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-07-22 19:24:48 +0000 |
| commit | 1d1826db27c2f2ec1aaeb6161d928e36f353a759 (patch) | |
| tree | 2b772651e11220bd6dccb16b0e7366c6dd768402 /src | |
| parent | 301c3fe461d0e688619965d051296d11800caa13 (diff) | |
| download | emacs-1d1826db27c2f2ec1aaeb6161d928e36f353a759.tar.gz emacs-1d1826db27c2f2ec1aaeb6161d928e36f353a759.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 9910fa3858a..59a7c9eeec0 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3114,6 +3114,17 @@ syms_of_fileio () | |||
| 3114 | nil means use format `var'. This variable is meaningful only on VMS."); | 3114 | nil means use format `var'. This variable is meaningful only on VMS."); |
| 3115 | vms_stmlf_recfm = 0; | 3115 | vms_stmlf_recfm = 0; |
| 3116 | 3116 | ||
| 3117 | DEFVAR_LISP ("file-name-handler-alist", &Vfile_name_handler_alist, | ||
| 3118 | "*Alist of elements (REGEXP . HANDLER) for file names handled specially.\n\ | ||
| 3119 | If a file name matches REGEXP, then all I/O on that file is done by calling\n\ | ||
| 3120 | HANDLER.\n\ | ||
| 3121 | \n\ | ||
| 3122 | The first argument given to HANDLER is the name of the I/O primitive\n\ | ||
| 3123 | to be handled; the remaining arguments are the arguments that were\n\ | ||
| 3124 | passed to that primitive. For example, if you do\n\ | ||
| 3125 | (file-exists-p FILENAME)\n\ | ||
| 3126 | and FILENAME is handled by HANDLER, then HANDLER is called like this:\n\ | ||
| 3127 | (funcall HANDLER FILENAME)"); | ||
| 3117 | defsubr (&Sfile_name_directory); | 3128 | defsubr (&Sfile_name_directory); |
| 3118 | defsubr (&Sfile_name_nondirectory); | 3129 | defsubr (&Sfile_name_nondirectory); |
| 3119 | defsubr (&Sfile_name_as_directory); | 3130 | defsubr (&Sfile_name_as_directory); |