diff -r a20b6c6e82a3 -r 95a7aa1e3e60 .emacs-my --- a/.emacs-my Tue Sep 01 13:22:16 2020 +0300 +++ b/.emacs-my Tue Sep 22 12:53:26 2020 +0300 @@ -3346,7 +3346,7 @@ ;; (setq auto-mode-alist (rassq-delete-all 'js-mode auto-mode-alist)) ;; (add-to-list 'auto-mode-alist '("\\.js$" . c++-mode)) -(when (featurep 'typescript-mode) +(my--eval-after-load typescript-mode (add-to-list 'auto-mode-alist '("\\.tsx?$" . typescript-mode))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;