Skip to content

(setting-constant nil) error when using (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))) #33

Description

@mwanderman

Running Emacs 28.2.

My init files includes

 (use-package org-bullets
   :config
   (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))

as recommended in the Readme.

When I start up Emacs, the initialization fails with the message:

Debugger entered--Lisp error: (setting-constant nil)
  set-default(nil nil)
  custom-theme-recalc-variable(nil)
  enable-theme(user)
  enable-theme(use-package)
  byte-code("\303\304!\210\303\305!\210\303\306!\210\307\310\311\312#\210\313\310!\210\314\310\10\"\20\11\315=\2038\0\n\316=\2038\0\317\320\321\"\210\322\320\323\324#\210..." [custom-enabled-themes emacs-major-version emacs-minor-version require bytecomp cl-lib tabulated-list custom-declare-theme use-package use-package-theme nil enable-theme remq 24 3 defalias hash-table-keys #f(compiled-function (hash-table) "Return a list of keys in HASH-TABLE." #<bytecode 0x73807fc3bb30797>) function-put speed -1 put byte-optimizer byte-compile-inline-expand custom-declare-group "A use-package declaration for simplifying your `.e..." :group startup] 6)
  (use-package org-bullets :config (add-hook 'org-mode-hook (lambda nil (org-bullets-mode 1))))

I haven't experienced this problem in other Emacs builds, including 28.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions