On 2009-08-23 13:27 +0100, Nick Bell wrote:
> I'm trying to write a little function using before-save-hook to
> compare the current buffer to the saved version and output the result
> of diffstat, asking the user whether they want to go ahead with the
> save or view the full diff. Or has someone done something like this
> before?

See diff-buffer-with-file.

-- 
Emacs uptime: 5 days, 22 hours, 23 minutes, 6 seconds



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to