Menu

jmacs: How to avoid prompt when saving & exiting?

Help
2021-01-16
2021-01-17
  • Lars Beiderbecke

    In jmacs, when you want to save and exit by typing ^X^C, you get a prompt

     File foo has been modified.  Save it (y,n,^C)?
    

    that is simply annoying. I failed to locate an option in .jmacsrc
    that would disable this prompt.

    So how do I do it? I remember disabling this prompt many years ago.

     
    • Charles J. Tabony

      In .jmacsrc, you probably want to change
      querysave,query,killjoe ^X ^C Query to save files, then exit
      to just
      killjoe ^X ^C Exit

       
  • Lars Beiderbecke

    OK, but I do want jmacs to save the file, then exit without prompt.

     
    • Charles J. Tabony

      Ah, then I think you want
      exsave ^X ^C Save file, then exit

       
  • Lars Beiderbecke

    Excellent! I had to disable the

    querysave,query,killjoe ^X ^C Query to save files, then exit
    

    line, but now it's working just the way I like it!

    Thanks a million!

     

Log in to post a comment.