For many files I have file-local variables which asked me once if they were safe and I could add them permanently to my "trusted" list, never to be asked again. However, I get asked every time on the following file variable, and it doesn't give me the option to save it. I even added it manually to my trusted vars, but no luck. Anyone know why?

# -*- next-error-function: nil;-*-
;; that was the first line of my file
  • buffer-local or file-local? Those aren't the same thing.
    – Drew
    Oct 22, 2020 at 17:37
  • Oh.. I didn't realize they were different. Which one goes with the code above? Oct 22, 2020 at 22:14
  • file-local is what you show
    – Drew
    Oct 23, 2020 at 16:27


Your Answer

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

Browse other questions tagged or ask your own question.