Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the use-package config #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmahmoudian
Copy link

@mmahmoudian mmahmoudian commented Nov 13, 2022

The use-package syntax has a mistake, enabling the popper modes in :init section would result in:

Error (use-package): popper/:init: Symbol’s function definition is void: popper-mode 

So the :config should be used.

Searching lead me to a comment which clarified the issue. I confirmed it with the use-package manual.

@karthink
Copy link
Owner

popper-mode is autoloaded, so this is not an error if Popper is installed correctly. How did you install Popper?

@mmahmoudian
Copy link
Author

mmahmoudian commented Jun 28, 2023

I installed using the use-package as I explained in my original post. This is my config for popper:

(use-package popper
  :ensure t
  :bind (("C-§"   . popper-toggle-latest)
         ("M-§"   . popper-cycle)
         ("C-M-§" . popper-toggle-type))
  :init
  (setq popper-reference-buffers
        '("\\*Messages\\*"
          "Output\\*$"
          "\\*Async Shell Command\\*"
          help-mode
          compilation-mode
          "^\\*vterm.*\\*$"  vterm-mode))
  :config
  (popper-mode +1)
  (popper-echo-mode +1))

@karthink karthink force-pushed the master branch 2 times, most recently from 178950f to 51b536b Compare September 8, 2023 21:33
@karthink karthink force-pushed the master branch 3 times, most recently from 28f1882 to c6b78fd Compare March 25, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants