.emacs-my
changeset 1682 32e95bb034b6
parent 1680 77bbb8dc0e0c
child 1683 40ff440156af
equal deleted inserted replaced
1681:c3e2faa4f118 1682:32e95bb034b6
    59 (setq recentf-show-file-shortcuts-flag nil)
    59 (setq recentf-show-file-shortcuts-flag nil)
    60 
    60 
    61 ;; Need to be defined before loading "recentf" because default value is
    61 ;; Need to be defined before loading "recentf" because default value is
    62 ;; "mode", meaning cleanup when turning the mode on.
    62 ;; "mode", meaning cleanup when turning the mode on.
    63 (setq recentf-auto-cleanup 600)
    63 (setq recentf-auto-cleanup 600)
       
    64 ;; Disable population of `file-name-history', it causes calls to
       
    65 ;;   abbreviate-file-name => file-name-case-insensitive-p => tramp-autoload-file-name-handler
       
    66 ;; taking 41% of startup time.
       
    67 ;; `ido-switch-buffer' doesn't depends on `file-name-history', nothing to lose.
       
    68 (setq recentf-initialize-file-name-history nil)
    64 
    69 
    65 (recentf-mode 1)
    70 (recentf-mode 1)
    66 
    71 
    67 (global-set-key (kbd "\e\eq") 'recentf-open-files)
    72 (global-set-key (kbd "\e\eq") 'recentf-open-files)
    68 (global-set-key [?\s-q] 'recentf-open-files)
    73 (global-set-key [?\s-q] 'recentf-open-files)