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

Off-by-one-error in markdown-inline-code-at-pos #313

Closed
phst opened this issue Jan 28, 2018 · 0 comments
Closed

Off-by-one-error in markdown-inline-code-at-pos #313

phst opened this issue Jan 28, 2018 · 0 comments

Comments

@phst
Copy link
Contributor

phst commented Jan 28, 2018

markdown-inline-code-at-pos treats the character directly after inline code as part of the code span.

This affects electric-quote-mode, e.g. when typing `a`'b the quote isn't made electric.

Expected Behavior

In the document

`a`b

b should not be considered part of the code span.

Actual Behavior

b is considered part of the code span.

Steps to Reproduce

  1. Insert `a`b into a Markdown buffer.
  2. Move point to b.
  3. Eval markdown-inline-code-at-point.

Software Versions

  • Markdown Mode: v2.3
  • Emacs: 25.3.1
  • OS: macOS High Sierra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants