diff --git a/init.el b/init.el index 5b25a25..7eb5bcf 100644 --- a/init.el +++ b/init.el @@ -20,9 +20,9 @@ ;; use-package (eval-when-compile - (setq use-package-always-ensure t - package-user-dir "~/.emacs.d/var/elpa") + (setq use-package-always-ensure t) (require 'use-package)) +(setq package-user-dir "~/.emacs.d/var/elpa") ;; no-littering (use-package no-littering @@ -156,7 +156,8 @@ (use-package recentf :init (setq recentf-exclude '("^/tmp/.*" - "^~/.mail/[^/]/Drafts/.+")) + "^~/.mail/[^/]/Drafts/.*" + (format "^%svar/elpa/.*" user-emacs-directory))) :bind ("C-c r" . recentf) :config (recentf-mode 1)) @@ -189,7 +190,7 @@ :config (evil-define-key 'operator evil-surround-mode-map "z" #'evil-surround-edit - "Z" #'evil-Sunrround-edit) + "Z" #'evil-Surround-edit) (evil-define-key 'visual evil-surround-mode-map "gz" #'evil-surround-region "gZ" #'evil-Surround-region)