Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • modus-themes modus-themes
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Protesilaos Stavrou
  • modus-themesmodus-themes
  • Issues
  • #272
Closed
Open
Created Jan 06, 2022 by Saša Janiška@gour

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?

Assignee
Assign to
Time tracking