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: Andreas Schwab
Subject: Re: replacement of find-file-not-found-hooks
Date: Sat, 20 Jul 2024 19:37:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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',

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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