From: Stefan <mo...@ir...> - 2004-09-19 07:01:25
|
> When a buffer has no file name, basic-save-buffer will prompt the user > interactively for one. Since before-save-hook isn't run until after > the interactive request for a file name, this prevents a hook from > setting a file name based on external factors (such as the time), > without first requiring the user to input some junk data. The use of > "" was a hack to avoid prompting, since for ERC logging, the value of > buffer-file-name is ignored and computed by a routine instead. Why use "" rather than something else (since you say it's ignored anyway)? I suspect "" will create other problems than just with this new VC code. E.g. I wouldn't be surprised to see it bump into uniquify for example. Stefan |