We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have this command:
Ymacs_Buffer.newCommands({ exit: Ymacs_Interactive(function() { var buffs = ymacs.buffers.slice(); (function loop() { var buff = buffs.shift(); if (buff) { if (buff.name != '*scratch*' && buff.dirty()) { var msg = 'Save file ' + buff.name + ' yes or no?'; function next() { ymacs.killBuffer(buff); loop(); } buff.cmd('minibuffer_yn', msg, function(yes) { if (yes) { buff.cmd('save_buffer_with_continuation', false, next); } else { next(); } }); } else { next(); } } else { $('.DlDesktop').hide(); leash.terminal.focus(true); } })(); }) });
and when I call it using M-x and when there are no unsaved files I got exception: Uncaught s: *** no error message given *** from thelib.js file.
Uncaught s: *** no error message given ***
The text was updated successfully, but these errors were encountered:
It work fine If I call it from C-x C-c.
Sorry, something went wrong.
I don't get that error if I don't kill *scratch* buffer.
*scratch*
No branches or pull requests
I have this command:
and when I call it using M-x and when there are no unsaved files I got exception:
Uncaught s: *** no error message given ***
from thelib.js file.The text was updated successfully, but these errors were encountered: