Skip to content

Conversation

@r0man
Copy link

@r0man r0man commented Jun 29, 2025

When building a Guix package for this repo the build step that byte compiles this file fails with:

starting phase `build'
Compiling ‘emacs-mcp.el’

Error: void-function (emacs-mcp--format-name)
  emacs-mcp--format-name("get-docstring")

Using eval-and-compile should make this function available for the later defmacro calls in this file.

When building a Guix package for this repo the build step that byte
compiles this file fails with:

```
starting phase `build'
Compiling ‘emacs-mcp.el’

In emacs-mcp--handle-initialize:
emacs-mcp.el:67:10: Warning: Unused lexical variable ‘params’

Error: void-function (emacs-mcp--format-name)
  emacs-mcp--format-name("get-docstring")
```

Using eval-and-compile should make this function available for the
later defmacro calls in this file.
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.

1 participant