-
Notifications
You must be signed in to change notification settings - Fork 163
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
markdown-live-preview-mode
errors for buffers without file
#200
Labels
Comments
xiongtx
added a commit
to xiongtx/markdown-mode
that referenced
this issue
Jun 15, 2017
xiongtx
added a commit
to xiongtx/markdown-mode
that referenced
this issue
Jun 15, 2017
xiongtx
added a commit
to xiongtx/markdown-mode
that referenced
this issue
Jun 15, 2017
xiongtx
added a commit
to xiongtx/markdown-mode
that referenced
this issue
Jun 15, 2017
xiongtx
added a commit
to xiongtx/markdown-mode
that referenced
this issue
Jun 15, 2017
jrblevin
pushed a commit
that referenced
this issue
Jun 15, 2017
Merged. Thanks for the report and patch! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
markdown-live-preview-mode
should gracefully fail for markdown buffers with no backing file.Actual behavior
markdown-live-preview-mode
throws awrong-type-argument
error.This is because
(markdown-live-preview-get-filename)
is nil for such buffers, which causesmarkdown-live-preview-remove
to callfile-exists-p
on nil.Steps to reproduce (recipe)
markdown-mode
buffer without a backing file.markdown-live-preview-mode
Backtraces if necessary (
M-x toggle-debug-on-error
)Describe versions of
markdown-mode
, Emacs, OS, etc.markdown-mode
:20170614.1152
25.1.1
Fedora 24
The text was updated successfully, but these errors were encountered: