From e01ea65f724ec0c7dba89c2a8f68cebe65f73785 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 30 Oct 2023 01:34:55 -0700 Subject: [PATCH] Various fixes --- init.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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)