Skip to content

Forcing save of help buffer at exit or magit #253

@ErikNatanael

Description

@ErikNatanael

Not right away, but a while into editing a rust project with rustic, whenever I try to open magit or close the program emacs requests that I save a file containing help buffer examples e.g.

let x = 1.0f32;
let y = 2.0f32;

assert_eq!(x.max(y), y);

or

let mut v = vec![1, 2, 3];
assert_eq!(v.remove(1), 2);
assert_eq!(v, [1, 3]);

I don't think I ever see these examples in emacs. The default file name for this file is markdown-code-fontification:rustic-mode.

There seems to be no way to avoid saving this file and still move on with magit/exiting. I haven't found exactly what triggers this behaviour yet and I don't know how to go about debugging it. Is there something I can run in emacs to get a log that might show what's going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions