From 04f3b0c9279b873034c602d0ec9e4e820f973b7a 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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 7b6d6fe..c12bb25 100644 --- a/init.el +++ b/init.el @@ -944,16 +944,15 @@ argument." (use-package fricas :ensure nil :custom - (fricas-run-command "fricas -nosman") + (fricas-run-command "fricas -nox") :init ;; 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