emacs-devel
[Top][All Lists]
Advanced

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

Re: is the after-save-hook changed?


From: Uwe Brauer
Subject: Re: is the after-save-hook changed?
Date: Thu, 11 Jan 2024 11:00:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)


> There's nothing special about after-save-hook, the LOCAL argument is a
> standard feature of add-hook and is documented in its doc string.

> Btw, I don't understand why you use make-local-variable here.  I don't
> think it's needed.

(add-hook (make-local-variable 'after-save-hook) 'backup-each-save)

Worked, aeh, 10 years ago. So maybe I did not use this package since 10
years.


-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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