diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-18 06:45:50 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-18 06:45:50 -0700 |
commit | 1c11d63f020a1a6f2e20064027246cb55800f89f (patch) | |
tree | af2f753d71cf6e47d6c4b599fd658ee23d6e7abc /LICENSE | |
parent | d76d11198035408667b20e3c0972e059551cde69 (diff) | |
download | txr-1c11d63f020a1a6f2e20064027246cb55800f89f.tar.gz txr-1c11d63f020a1a6f2e20064027246cb55800f89f.tar.bz2 txr-1c11d63f020a1a6f2e20064027246cb55800f89f.zip |
linenoise: support suffix on temp file name.
This is so that when a command line is edited in an external
editor, editors can choose appropriate syntax highlighting
mode based on the suffix.
* linenoise/linenoise.c (struct lino_state): New member,
suffix.
(edit_in_editor): If we have the mkstemps function, then
use it to create a suffixed name.
(lino_set_tempfile_suffix): New function.
* linenoise/linenoise.h (lino_set_tempfile_suffix): Declared.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions