[comp.emacs] make-backup-files & save-buffer problem

stevea@prodnet.la.locus.com (Steve Anderson) (10/25/90)

I'm trying to do the following:

(defun tidy ()
  "don't make backup files, and only autosave in current visited file"
  (interactive)
  (setq make-backup-files 'nil)
  (setq auto-save-visited-file-name 't))

The auto-save-visited-file-name seems to work file.  When I try to
save the buffer using C-x C-s, I get the message "file has changed on
disk, do you still want to save?".  I expect this, since auto-save has
written in the file, so I type yes.  But, the file isn't actually
saved!

Please send me mail regarding this, and I'll summarize if there's interest.

If there's a better way, please suggest it.

-Steve                     I do not speak officially for Locus or IBM, just me.
stevea@locus.com           uunet!lcc!stevea            lcc!stevea@seas.ucla.edu