2022 Developer Survey is open! Take survey.

New answers tagged

0 votes

How can I check if buffer has been modified even after save-buffer

I think you just want: (let ((modified (buffer-modified-p))) ...do things... (when modified ...do more things...))
user avatar
  • 43.1k

Top 50 recent answers are included