From 9680cf05f705f2e44d5bddf3eeba4392023de49b Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 19 Mar 2024 17:21:13 -0700 Subject: [PATCH] Clean up the previous commit's code --- init.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 7b6d6fe..093905c 100644 --- a/init.el +++ b/init.el @@ -949,11 +949,10 @@ argument." ;; Fix `fricas-mode' messing up `completion-at-point-functions' (advice-add #'fricas-mode :around #'(lambda (oldfun &rest r) - (let ((temp-capfs)) (let ((completion-at-point-functions '(t))) (apply oldfun r) - (setq temp-capfs completion-at-point-functions)) - (setq-local completion-at-point-functions temp-capfs))) + (setq-local completion-at-point-functions + completion-at-point-functions))) '((name . "my/-fricas-fix-capfs"))) :config (face-spec-set 'fricas-type-time '((t (:foreground unspecified