>>> "AS" == Andreas Schwab 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.