diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-01-17 10:29:40 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-01-17 10:29:40 +0400 |
commit | 468afbaceaeb045f69b1a47aa1550a2556cd7dfd (patch) | |
tree | ff5bd77d87a3f52802196d04ef4c6ca493c47fe7 /src/font.c | |
parent | 0e70695aa48cb34d8c3df6e4d4173b6adb474b23 (diff) | |
download | emacs-468afbaceaeb045f69b1a47aa1550a2556cd7dfd.tar.gz |
* lisp.h (toplevel): Add comment about using Lisp_Save_Value
objects, related functions and macros.
(make_save_value): Adjust prototype.
(make_save_pointer): New prototype.
(SAFE_NALLOCA): Fix indentation. Use make_save_pointer.
(SAFE_ALLOCA_LISP): Adjust make_save_value usage.
* alloc.c (format_save_value): Rename to make_save_value.
(make_save_pointer): New function.
(record_xmalloc): Use make_save_pointer.
* dired.c, editfns.c, fileio.c, font.c, gtkutil.c, lread.c:
* nsmenu.m, nsterm.m, xfns.c, xmenu.c, xselect.c, keymap.c:
Change users of make_save_value to make_save_pointer.
Likewise for format_save_value and make_save_value.
Diffstat (limited to 'src/font.c')
-rw-r--r-- | src/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/font.c b/src/font.c index 89931f6ec76..18caf751643 100644 --- a/src/font.c +++ b/src/font.c @@ -1861,7 +1861,7 @@ otf_open (Lisp_Object file) else { otf = STRINGP (file) ? OTF_open (SSDATA (file)) : NULL; - val = make_save_value (otf, 0); + val = make_save_pointer (otf); otf_list = Fcons (Fcons (file, val), otf_list); } return otf; |