Skip to content

eproject.el: don't barf on non file backed buffers#64

Open
stsquad wants to merge 1 commit intojrockway:masterfrom
stsquad:dont-error-non-file-buffer
Open

eproject.el: don't barf on non file backed buffers#64
stsquad wants to merge 1 commit intojrockway:masterfrom
stsquad:dont-error-non-file-buffer

Conversation

@stsquad
Copy link
Contributor

@stsquad stsquad commented Nov 4, 2013

While eproject-maybe-turn-on is only called on various mode hooks it
breaks on temporary buffers if they use a programming mode. One such
example is when exporting an org-mode document with embedded source
code.

This stops it throwing an error by skipping the attempt if there is no
associated (buffer-file-name) for the buffer.

@stsquad
Copy link
Contributor Author

stsquad commented Dec 20, 2013

ping?

While eproject-maybe-turn-on is only called on various mode hooks it
breaks on temporary buffers if they use a programming mode. One such
example is when exporting an org-mode document with embedded source
code.

This stops it throwing an error by skipping the attempt if there is no
associated (buffer-file-name) for the buffer.
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