diff options
| author | Lukas Fürmetz <fuermetz@mailbox.org> | 2017-07-25 17:31:03 +0200 |
|---|---|---|
| committer | Lukas Fürmetz <fuermetz@mailbox.org> | 2017-07-25 17:31:03 +0200 |
| commit | 1c24ef3d0704ad51003705f6211b44f65d0c8635 (patch) | |
| tree | 093db1aae572b74a80c54209e837f6a1f14f792b /vterm-module.h | |
| parent | 5b55be74c0c0296400ffa156ad9afda7db016f98 (diff) | |
Use propertize instead of put-text-property
Diffstat (limited to 'vterm-module.h')
| -rw-r--r-- | vterm-module.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vterm-module.h b/vterm-module.h index 745052e..3852382 100644 --- a/vterm-module.h +++ b/vterm-module.h @@ -15,9 +15,9 @@ static void message_value(emacs_env *env, emacs_value value); static int string_bytes(emacs_env *env, emacs_value string); static emacs_value string_length(emacs_env *env, emacs_value string); static emacs_value list(emacs_env *env, emacs_value *elements, ptrdiff_t len); -static void put_text_property(emacs_env *env, emacs_value property, - emacs_value value, emacs_value string); -static void color_text(emacs_env *env, emacs_value string, emacs_value fg, +static emacs_value propertize(emacs_env *env, emacs_value string, + emacs_value prop, emacs_value properties); +static emacs_value color_text(emacs_env *env, emacs_value string, emacs_value fg, emacs_value bg); static void byte_to_hex(uint8_t byte, char *hex); static emacs_value color_to_rgb_string(emacs_env *env, VTermColor color); |
