Clean up the previous commit's code

This commit is contained in:
Alexander Rosenberg 2024-03-19 17:21:13 -07:00
parent 4ccf34d70e
commit 04f3b0c927
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -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