-
Notifications
You must be signed in to change notification settings - Fork 167
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
Buffer with HTML comment at EOB causes error #327
Comments
OK, found an Content of
|
@jrblevin Can you please look at this? |
Thanks for the report. I think this is fixed now, but could you please confirm? |
I run into this problem regularly with my files. I just upgraded to the Github dev version after noticing that the stable version doesn't have this fix, and the problem appears to be gone for me. (Which I appreciate because, quite aside from all the syntax highlighting and features, I've managed to screw up a number of indented lists in affected pages by forgetting that non-markdown-mode doesn't indent enough...) |
A buffer with HTML comment like
<!--more-->
at EOB (no trailing newline!) causes error:(wrong-type-argument integer-or-marker-p nil)
Expected Behavior
That error should not happen.
Actual Behavior
Error happens.
Steps to Reproduce
(see the following post in this thread)
Backtrace
I get this after having the markdown mode file buffer contain just
<!--more-->
. I haverequire-final-newline
set tonil
, go to the end of that line, doC-d
, then save (C-x C-s
), and thenM-x revert-buffer
to get this.Software Versions
/cc @zzamboni
This issue originated from kaushalmodi/ox-hugo#152.
The text was updated successfully, but these errors were encountered: