Skip to content

Conversation

bcc32
Copy link
Collaborator

@bcc32 bcc32 commented Sep 22, 2025

  • Don't try to avoid defining various functions at top level if some
    package doesn't exist---it's fine for them to just error.

  • Replace soft message with a user-error.

  • Do not check whether the winum package is configured by Spacemacs.
    It is sufficient for the winum feature to be provided by a site-lisp
    package.

  • Fix up docstrings slightly, according to checkdoc.

Fix #17130.

See also #17080.

- Don't try to avoid defining various functions at top level if some
  package doesn't exist---it's fine for them to just error.

- Replace soft message with a user-error.

- Do not check whether the winum package is configured by Spacemacs.
  It is sufficient for the winum feature to be provided by a site-lisp
  package.

- Fix up docstrings slightly, according to checkdoc.

Fix syl20bnr#17130.
After 80a9502, this is no longer
correct, because funcs.el must be loaded before packages are
declared (as funcs.el may define functions that are used in :toggle
form).
@bcc32
Copy link
Collaborator Author

bcc32 commented Sep 22, 2025

Pushed another commit to also fix a couple other places where configuration-layer/package-used-p was being used at top-level in funcs.el.

The configuration layer is very complicated and stuff like this is why my branch for fixing #16346 got stalled :)

@fnussbaum fnussbaum merged commit ee0b41a into syl20bnr:develop Sep 23, 2025
9 checks passed
fnussbaum added a commit that referenced this pull request Sep 23, 2025
@fnussbaum
Copy link
Collaborator

Thanks! I have pushed two minor related changes.

@bcc32
Copy link
Collaborator Author

bcc32 commented Sep 23, 2025

Ah, good catch on the documentation especially :)

@bcc32 bcc32 deleted the fix-move-buffer-to-window branch September 23, 2025 15:53
aam-at pushed a commit to aam-at/spacemacs that referenced this pull request Oct 15, 2025
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.

Symbol’s function definition is void: spacemacs/move-buffer-to-window

2 participants