emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Preventing (or mitigating) accidental deletion in org-mode


From: Leo
Subject: [Orgmode] Re: Preventing (or mitigating) accidental deletion in org-mode
Date: Sun, 23 Aug 2009 13:39:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]