unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* replacement of find-file-not-found-hooks
@ 2024-07-20 14:52 Uwe Brauer via Emacs development discussions.
  2024-07-20 15:08 ` [Solved] (was: replacement of find-file-not-found-hooks) Uwe Brauer via Emacs development discussions.
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Uwe Brauer via Emacs development discussions. @ 2024-07-20 14:52 UTC (permalink / raw)
  To: emacs-devel

Hi 
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?

Backward compatibility, sigh


Regards

Uwe Brauer 


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





^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-07-24 16:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-20 14:52 replacement of find-file-not-found-hooks Uwe Brauer via Emacs development discussions.
2024-07-20 15:08 ` [Solved] (was: replacement of find-file-not-found-hooks) Uwe Brauer via Emacs development discussions.
2024-07-20 15:10 ` replacement of find-file-not-found-hooks Eli Zaretskii
2024-07-20 17:37 ` Andreas Schwab
2024-07-21 15:00   ` Uwe Brauer via Emacs development discussions.
2024-07-21 15:52     ` Eli Zaretskii
2024-07-23  3:42     ` Richard Stallman
2024-07-23  4:32       ` Stefan Kangas
2024-07-23  6:52         ` Uwe Brauer
2024-07-23  8:41           ` Philip Kaludercic
2024-07-23 11:36             ` Eli Zaretskii
2024-07-23 19:34               ` Uwe Brauer
2024-07-23 20:38                 ` Stefan Kangas
2024-07-24 11:13                 ` Eli Zaretskii
2024-07-24 12:33                   ` [toggle-read-only] (was: replacement of find-file-not-found-hooks) Uwe Brauer
2024-07-24 12:47                     ` Eli Zaretskii
2024-07-24 15:50                       ` [toggle-read-only] Uwe Brauer
2024-07-24 16:41                         ` [toggle-read-only] Eli Zaretskii
2024-07-23 21:45           ` replacement of find-file-not-found-hooks Björn Bidar

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).