Lisp error: (void-function modus-themes-load-themes)
Hello,
since today I've problem starting Emacs:
Debugger entered--Lisp error: (void-function modus-themes-load-themes)
(modus-themes-load-themes)
(progn (setq modus-themes-italic-constructs t modus-themes-bold-constructs nil modus-themes-region '(bg-only no-extend)) (modus-themes-load-themes))
(condition-case err (progn (setq modus-themes-italic-constructs t modus-themes-bold-constructs nil modus-themes-region '(bg-only no-extend)) (modus-themes-load-themes)) ((debug error) (funcall use-package--warning43 :init err)))
(progn (if (fboundp 'modus-themes-toggle) nil (autoload #'modus-themes-toggle "modus-themes" nil t)) (condition-case err (progn (setq modus-themes-italic-constructs t modus-themes-bold-constructs nil modus-themes-region '(bg-only no-extend)) (modus-themes-load-themes)) ((debug error) (funcall use-package--warning43 :init err))) (eval-after-load 'modus-themes #'(lambda nil (condition-case err (progn (modus-themes-load-operandi) t) ((debug error) (funcall use-package--warning43 :config err))))) (let* ((name "<f5>") (key (if (vectorp name) name (read-kbd-macro name))) (kmap (or (if (and nil (symbolp nil)) (symbol-value nil) nil) global-map)) (kdesc (cons (if (stringp name) name (key-description name)) (if (symbolp nil) nil 'nil))) (binding (lookup-key kmap key))) (let ((entry (assoc kdesc personal-keybindings)) (details (list #'modus-themes-toggle (if (numberp binding) nil binding)))) (if entry (setcdr entry details) (add-to-list 'personal-keybindings (cons kdesc details)))) (define-key kmap key #'modus-themes-toggle)))
(condition-case err (progn (if (fboundp 'modus-themes-toggle) nil (autoload #'modus-themes-toggle "modus-themes" nil t)) (condition-case err (progn (setq modus-themes-italic-constructs t modus-themes-bold-constructs nil modus-themes-region '(bg-only no-extend)) (modus-themes-load-themes)) ((debug error) (funcall use-package--warning43 :init err))) (eval-after-load 'modus-themes #'(lambda nil (condition-case err (progn (modus-themes-load-operandi) t) ((debug error) (funcall use-package--warning43 :config err))))) (let* ((name "<f5>") (key (if (vectorp name) name (read-kbd-macro name))) (kmap (or (if (and nil ...) (symbol-value nil) nil) global-map)) (kdesc (cons (if (stringp name) name (key-description name)) (if (symbolp nil) nil 'nil))) (binding (lookup-key kmap key))) (let ((entry (assoc kdesc personal-keybindings)) (details (list #'modus-themes-toggle (if ... nil binding)))) (if entry (setcdr entry details) (add-to-list 'personal-keybindings (cons kdesc details)))) (define-key kmap key #'modus-themes-toggle))) ((debug error) (funcall use-package--warning43 :catch err)))
eval-buffer(#<buffer *load*> nil "/home/gour/.config/emacs/init.el" nil t) ; Reading at buffer position 22834
load-with-code-conversion("/home/gour/.config/emacs/init.el" "/home/gour/.config/emacs/init.el" t t)
load("/home/gour/.config/emacs/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x6af69d>) #f(compiled-function () #<bytecode 0x6af5ad>) t)
command-line()
normal-top-level()
I've the following in my init.el
:
(use-package modus-themes
:ensure
: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
(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)
)
Any hint?