In Emacs 28 it loads files referenced by diff-mode, polluting buffer list & recentf, and significantly slowing Emacs in Cygwin.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62749
https://emacs.stackexchange.com/questions/76728/modern-emacs-keeps-opening-related-file-from-vc-diff-buffer/
--- a/.emacs-my Thu Feb 02 02:14:23 2023 +0200
+++ b/.emacs-my Sun May 14 16:40:00 2023 +0300
@@ -2693,7 +2693,11 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(message "devel, programming")
-(which-func-mode 1)
+;; The mode displays current function name in status line.
+;; In Emacs 28 it loads files referenced by diff-mode, polluting buffer list & recentf, and significantly slowing Emacs in Cygwin.
+;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62749
+;; https://emacs.stackexchange.com/questions/76728/modern-emacs-keeps-opening-related-file-from-vc-diff-buffer/
+;; (which-func-mode 1)
(add-to-list 'auto-mode-alist '("\\.cu$" . c-mode))