diff options
| author | Dmitry Antipov | 2012-08-09 09:14:23 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-09 09:14:23 +0400 |
| commit | a2752828083a77421efdcd59938eeb21657c39a3 (patch) | |
| tree | 13a3ddaf12f8794882d552d0f15aa3011a96ef58 /src/coding.c | |
| parent | e0cc4efac7f170e81c9b95f1a616c1595442936e (diff) | |
| download | emacs-a2752828083a77421efdcd59938eeb21657c39a3.tar.gz emacs-a2752828083a77421efdcd59938eeb21657c39a3.zip | |
Use TSET for write access to Lisp_Object slots of struct terminal.
* termhooks.h (TSET): New macro.
* coding.c, terminal.c, xselect.c: Adjust users.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index 12a7cf93c46..5bed11b8241 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -9294,9 +9294,9 @@ DEFUN ("set-terminal-coding-system-internal", Fset_terminal_coding_system_intern | |||
| 9294 | terminal_coding->src_multibyte = 1; | 9294 | terminal_coding->src_multibyte = 1; |
| 9295 | terminal_coding->dst_multibyte = 0; | 9295 | terminal_coding->dst_multibyte = 0; |
| 9296 | if (terminal_coding->common_flags & CODING_REQUIRE_ENCODING_MASK) | 9296 | if (terminal_coding->common_flags & CODING_REQUIRE_ENCODING_MASK) |
| 9297 | term->charset_list = coding_charset_list (terminal_coding); | 9297 | TSET (term, charset_list, coding_charset_list (terminal_coding)); |
| 9298 | else | 9298 | else |
| 9299 | term->charset_list = Fcons (make_number (charset_ascii), Qnil); | 9299 | TSET (term, charset_list, Fcons (make_number (charset_ascii), Qnil)); |
| 9300 | return Qnil; | 9300 | return Qnil; |
| 9301 | } | 9301 | } |
| 9302 | 9302 | ||