Mercurial > emacs
comparison lispref/files.texi @ 27259:c41efa6c4be1
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 10 Jan 2000 08:56:40 +0000 |
parents | 89afca54a135 |
children | 25557ce6a3a0 |
comparison
equal
deleted
inserted
replaced
27258:5188825710c0 | 27259:c41efa6c4be1 |
---|---|
2405 | 2405 |
2406 @item modify | 2406 @item modify |
2407 A flag, @code{t} if the encoding function modifies the buffer, and | 2407 A flag, @code{t} if the encoding function modifies the buffer, and |
2408 @code{nil} if it works by returning a list of annotations. | 2408 @code{nil} if it works by returning a list of annotations. |
2409 | 2409 |
2410 @item mode | 2410 @item mode-fn |
2411 A mode function to call after visiting a file converted from this | 2411 A minor-mode function to call after visiting a file converted from this |
2412 format. | 2412 format. The function is called with one argument, the integer 1; |
2413 that tells a minor-mode function to enable the mode. | |
2413 @end table | 2414 @end table |
2414 | 2415 |
2415 The function @code{insert-file-contents} automatically recognizes file | 2416 The function @code{insert-file-contents} automatically recognizes file |
2416 formats when it reads the specified file. It checks the text of the | 2417 formats when it reads the specified file. It checks the text of the |
2417 beginning of the file against the regular expressions of the format | 2418 beginning of the file against the regular expressions of the format |