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

Escape single quotes in docstring #421

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

Conversation

syohex
Copy link
Contributor

@syohex syohex commented Jul 21, 2023

Emacs 29 or higher veresions warn unescaped single quotes in docstrings.

In go-guru-implements:
go-guru.el:398:2: Warning: docstring has wrong usage of unescaped single
    quotes (use \=' or different quoting such as `...')

go-mode.el:149:2: Warning: custom-declare-variable `go-command' docstring has
    wrong usage of unescaped single quotes (use \=' or different quoting such
    as `...')
go-mode.el:158:2: Warning: custom-declare-variable `gofmt-command' docstring
    has wrong usage of unescaped single quotes (use \=' or different quoting
    such as `...')
go-mode.el:183:2: Warning: custom-declare-variable `godef-command' docstring
    has wrong usage of unescaped single quotes (use \=' or different quoting
    such as `...')
go-mode.el:195:2: Warning: custom-declare-variable `go-packages-function'
    docstring has wrong usage of unescaped single quotes (use \=' or different
    quoting such as `...')

...

Emacs 29 or higher veresions warn unescaped single quotes
in docstrings.
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