--- a/.emacs-my Sat Jan 02 20:09:51 2021 +0200
+++ b/.emacs-my Sat Jan 02 20:37:29 2021 +0200
@@ -61,6 +61,11 @@
;; Need to be defined before loading "recentf" because default value is
;; "mode", meaning cleanup when turning the mode on.
(setq recentf-auto-cleanup 600)
+;; Disable population of `file-name-history', it causes calls to
+;; abbreviate-file-name => file-name-case-insensitive-p => tramp-autoload-file-name-handler
+;; taking 41% of startup time.
+;; `ido-switch-buffer' doesn't depends on `file-name-history', nothing to lose.
+(setq recentf-initialize-file-name-history nil)
(recentf-mode 1)