autoSaveRestore restores prior Autosave setting, from AutoSaveOff
(asv bool)
| 559 | // autoSaveRestore restores prior Autosave setting, |
| 560 | // from AutoSaveOff |
| 561 | func (tb *Buffer) autoSaveRestore(asv bool) { |
| 562 | tb.Autosave = asv |
| 563 | } |
| 564 | |
| 565 | // AutoSaveFilename returns the autosave filename. |
| 566 | func (tb *Buffer) AutoSaveFilename() string { |