ryuslash/mode-icons

wrong-type-argument frame-live-p #<dead frame F4 0x55dd852c5050>

kwist-sgr opened this issue · 0 comments

From time to time I get this kind of error when switching buffer

Debugger entered--Lisp error: (wrong-type-argument frame-live-p #<dead frame F4 0x55dd852c5050>)
  mode-icons-get-mode-icon("Magit" nil t)
  mode-icons-set-mode-icon("Magit")
  mode-icons-set-current-mode-icon()
  mode-icons-reset()
  run-hooks(after-change-major-mode-hook)
  run-mode-hooks(magit-status-mode-hook)
  magit-status-mode()
  magit-setup-buffer-internal(magit-status-mode nil ((magit-buffer-diff-args ("--no-ext-diff")) (magit-buffer-diff-files nil) (magit-buffer-log-args ("-n256" "--decorate")) (magit-buffer-log-files nil)))
  magit-status-internal("/home/user/workspace/project/")
  projectile-vc()
  funcall-interactively(projectile-vc)
  #<subr call-interactively>(projectile-vc nil nil)
  call-interactively@ido-cr+-record-current-command(#<subr call-interactively> projectile-vc nil nil)
  apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (projectile-vc nil nil))
  call-interactively(projectile-vc nil nil)
  command-execute(projectile-vc)
Magit 20220516.2019 [>= 3.3.0-git], Git 2.25.1, Emacs 28.1, gnu/linux
mode-icons 20200920.2031