Skip to content

selectrum with use-package (compiler warning) #410

Open
@jsirex

Description

@jsirex
(setq package-quickstart t)
...

(use-package selectrum
  :init
  (selectrum-mode +1))

Macro expanded to

(progn
  (use-package-ensure-elpa 'selectrum
                           '(t)
                           'nil)
  (selectrum-mode 1))

During compilation I got:

init.el:607:1: Warning: the function ‘selectrum-mode’ might not be defined at runtime.

It does not work until I re-active it by off-on mode. I checked that autoload is present

GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-01-22, unofficial emacs-snapshot build: http://emacs.secretsauce.net

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions