1

As of How to stop auto backup in some directory in Emacs, it's possible to configure emacs to backup conditionally.

Is there an option to set inside the file, in the first line, to disable backup for this file only?

1 Answer 1

2

According to my test, simply set make-backup-files to nil locally, for example,

M-x add-file-local-variable-prop-line make-backup-files nil
1
  • 1
    which creates a line with a comment character and then -*- make-backup-files: nil; -*- Thank you very much, even a command for easy creation
    – serv-inc
    Dec 20, 2017 at 20:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.