freetonik/castlemacs

Reloading init.el gives error message

Closed this issue · 3 comments

apc commented

Whenever I load init.el after startup I get this warning

 Couldn’t find minor-mode-alist inside ‘mode-line-modes’

The error seems to come from rich-minority. But I don't quite understand what triggers the warning only when reloading init.el.

EDIT: apparently this is the intended behavior. See here: Malabarba/rich-minority#2

Hey,
is this still happening with the latest version of rich-minority?

apc commented

Sorry, I haven't been using Castlemacs lately, and moved on to my own (Castlemacs-inspired!) config. But for what is worth, it's been a while since I ran into this issue, and setting things up like so helped:

(use-package rich-minority
  :defer nil
  :config
  (unless rich-minority-mode ;; This prevents us from getting an error message upon re-loading init.el
  (rich-minority-mode 1))
  (setf rm-blacklist ""))

Cool, thank you!