emacs-devel
[Top][All Lists]
Advanced

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

Re: replacement of find-file-not-found-hooks


From: Uwe Brauer
Subject: Re: replacement of find-file-not-found-hooks
Date: Sun, 21 Jul 2024 17:00:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

>>> "AS" == Andreas Schwab <schwab@linux-m68k.org> writes:

> On Jul 20 2024, Uwe Brauer via "Emacs development discussions." wrote:
>> According to the news:
>> 
>> 
>> ** Some functions and variables obsolete since Emacs 21 or 22 have
>> been removed: 'c-toggle-auto-state', 'find-file-not-found-hooks',
>> 'ls-lisp-dired-ignore-case', 'query-replace-regexp-eval'.
>> 
>> I am still using an old (starting in 1988) but very useful package
>> called auto-insert-tkld.el (automatic insertion of text into new
>> files.)
>> 
>> It uses 
>> (add-hook 'find-file-not-found-hooks 'insert-auto-insert-files 'append)
>> 
>> Now it seems that hook has been removed what shall I use instead?

> According to the news:

> *** A number of hooks have been renamed to better follow the conventions:

> 'find-file-not-found-hooks' to 'find-file-not-found-functions',

Thanks but then a hook is no longer called a hook? Confusing, isn't it?



-- 
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]