From: Eli Zaretskii <eliz@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-devel@gnu.org
Subject: Re: replacement of find-file-not-found-hooks
Date: Sat, 20 Jul 2024 18:10:19 +0300 [thread overview]
Message-ID: <86plr8cd5w.fsf@gnu.org> (raw)
In-Reply-To: <87a5icjeua.fsf@mat.ucm.es> (emacs-devel@gnu.org)
> Date: Sat, 20 Jul 2024 16:52:13 +0200
> From: Uwe Brauer via "Emacs development discussions." <emacs-devel@gnu.org>
>
> 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?
You should use find-file-not-found-functions.
next prev parent reply other threads:[~2024-07-20 15:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Eli Zaretskii [this message]
2024-07-20 17:37 ` replacement of find-file-not-found-hooks 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86plr8cd5w.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=oub@mat.ucm.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.