Mercurial > emacs
diff src/keymap.c @ 9273:129621997564
(synkey, Fdescribe_bindings, describe_command): Use new accessor macros
instead of calling XSET directly.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Tue, 04 Oct 1994 12:14:16 +0000 |
| parents | c225137ddefb |
| children | dfaf1d41e53d |
line wrap: on
line diff
--- a/src/keymap.c Tue Oct 04 12:13:17 1994 +0000 +++ b/src/keymap.c Tue Oct 04 12:14:16 1994 +0000 @@ -163,7 +163,7 @@ int fromchar, tochar; { Lisp_Object v, c; - XSET (v, Lisp_Vector, tomap); + XSETVECTOR (v, tomap); XFASTINT (c) = tochar; frommap->contents[fromchar] = Fcons (v, c); } @@ -1820,7 +1820,7 @@ Lisp_Object prefix; { register Lisp_Object thisbuf; - XSET (thisbuf, Lisp_Buffer, current_buffer); + XSETBUFFER (thisbuf, current_buffer); internal_with_output_to_temp_buffer ("*Help*", describe_buffer_bindings, Fcons (thisbuf, prefix)); @@ -2071,7 +2071,7 @@ if (SYMBOLP (definition)) { - XSET (tem1, Lisp_String, XSYMBOL (definition)->name); + XSETSTRING (tem1, XSYMBOL (definition)->name); insert1 (tem1); insert_string ("\n"); }
