1

An automatic save is triggered (from some hook in some of my extensions) directly after a buffer is modified and I can't find the reason for it. The mode auto-save-mode is not enabled in the buffer where the auto save happens. Is there a way to detect which top-function (hook) that is calling a specific function? In my case save-buffer.

2

Say M-x debug-on-entry RET save-buffer RET.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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