[Conkeror] unfocus when exiting external editor

Jeremy Maitin-Shepard jeremy at jeremyms.com
Thu Mar 6 09:41:04 PST 2008


"samuel hanot" <hanot.samuel at gmail.com> writes:

> Hi,
> I thought it was stupid to have to manually unfocus the text input
> boxes when closing the external editor.

> I modified the function to avoid me unnecessary ESC key presses.

> interactive("edit-current-field-in-external-editor", function (I) {
>     var buf = I.buffer;
>     yield edit_field_in_external_editor(buf, buf.focused_element);
>     unfocus(buf);
> });

> Hope it helps someone.

Thanks, I'll commit this change.

> sam

> ps : don't know if it is the right place to post tips and tricks, but
> as we can't loggin into the drupal, i thought this was better than
> nothing.

This is indeed a good place to post anything at all related to
Conkeror.  :)

-- 
Jeremy Maitin-Shepard


More information about the Conkeror mailing list