modus themes : Symbol 的函数定义无效:modus-themes-load-themes

问题描述 投票:0回答:0

我尝试在 emacs 27.1 上安装 modus 主题

这是我的配置文件(从 emacs 文档复制,通过 melpa 安装的包):

(use-package modus-themes
  :ensure                         ; omit this to use the built-in themes
  :init
  ;; Add all your customizations prior to loading the themes
  (setq modus-themes-italic-constructs t
        modus-themes-bold-constructs nil
        modus-themes-region '(bg-only no-extend))

  ;; Load the theme files before enabling a theme (else you get an error).
  (modus-themes-load-themes)
  :config
  ;; Load the theme of your choice:
  (modus-themes-load-operandi) ;; OR (modus-themes-load-vivendi)
  :bind ("<f5>" . modus-themes-toggle))

重新加载后:

Error (use-package): modus-themes/:init: Symbol’s function definition is void: modus-themes-load-themes

我不会 Elisp 所以我需要你的帮助

Ty.

emacs elisp
© www.soinside.com 2019 - 2024. All rights reserved.