sagemath / sage-shell-mode

Emacs front end for SageMath
GNU General Public License v3.0
98 stars 16 forks source link

sage-shell-edit:send-region doesn't work if file does not end in `.sage` #10

Closed johanrosenkilde closed 7 years ago

johanrosenkilde commented 7 years ago

If the edited file does not end in .sage, then sage-shell-edit:send-region will create a file with .sobj extension, but the called load function will look for a <extension>.sobj file.

stakemori commented 7 years ago

Thanks for reporting, Johan. I just fixed this in 541d48d58c793993e7dcdf42efa836061be949ae. I will merge it to master later.

johanrosenkilde commented 7 years ago

Wow, so fast - thanks!

johanrosenkilde commented 7 years ago

I confirm that this works for me now. Thanks again.