next up previous contents index
Next: kill_current_buffer Up: Buffers and files Previous: write_file

insert_file

   int insert_file(char * filename)

Inserts the contents of the file associated to filename at the current position. Current position stays unchanged (it is the beginning of the inserted file). Returns 1 on success, otherwise 0 (if Smac cannot read filename).



Lionel Fournigault
Fri Nov 6 17:00:30 MET 1998