Skip to content

Conversation

@bcc32
Copy link
Contributor

@bcc32 bcc32 commented Feb 5, 2026

The correct way to declare a variable as dynamically bound but defined elsewhere is to use defvar with a variable name but no value. Otherwise, this causes the following unwanted side-effect when pressing C-h v xref-prompt-for-identifier:

xref-prompt-for-identifier is a variable defined in ‘haskell.el’.

The correct way to declare a variable as dynamically bound but defined elsewhere is to use defvar with a variable name but no value.  Otherwise, this causes the following unwanted side-effect when pressing `C-h v xref-prompt-for-identifier`:

```
xref-prompt-for-identifier is a variable defined in ‘haskell.el’.
```
@purcell purcell merged commit 2dd755a into haskell:master Feb 6, 2026
12 checks passed
@purcell
Copy link
Member

purcell commented Feb 6, 2026

Yup, thanks!

@bcc32 bcc32 deleted the patch-1 branch February 6, 2026 16:12
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.

2 participants