comparison src/doc.c @ 3025:facf3239ba30

[xemacs-hg @ 2005-10-25 11:16:19 by ben] rename new->new_, convert 'foo to `foo' EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_. 'foo -> `foo'. lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings. lwlib.c, xlwtabs.c: new -> new_.
author ben
date Tue, 25 Oct 2005 11:16:49 +0000
parents ecf1ebac70d8
children 959746c534f6
comparison
equal deleted inserted replaced
3024:b7f26b2f78bd 3025:facf3239ba30
791 REGISTER Ibyte *strdata; 791 REGISTER Ibyte *strdata;
792 REGISTER Ibyte *bufp; 792 REGISTER Ibyte *bufp;
793 Bytecount strlength; 793 Bytecount strlength;
794 Bytecount idx; 794 Bytecount idx;
795 Bytecount bsize; 795 Bytecount bsize;
796 Ibyte *new; 796 Ibyte *new_;
797 Lisp_Object tem = Qnil; 797 Lisp_Object tem = Qnil;
798 Lisp_Object keymap = Qnil; 798 Lisp_Object keymap = Qnil;
799 Lisp_Object name = Qnil; 799 Lisp_Object name = Qnil;
800 Ibyte *start; 800 Ibyte *start;
801 Bytecount length; 801 Bytecount length;
902 } 902 }
903 #endif 903 #endif
904 904
905 if (NILP (tem)) /* but not on any keys */ 905 if (NILP (tem)) /* but not on any keys */
906 { 906 {
907 new = (Ibyte *) xrealloc (buf, bsize += 4); 907 new_ = (Ibyte *) xrealloc (buf, bsize += 4);
908 bufp += new - buf; 908 bufp += new_ - buf;
909 buf = new; 909 buf = new_;
910 memcpy (bufp, "M-x ", 4); 910 memcpy (bufp, "M-x ", 4);
911 bufp += 4; 911 bufp += 4;
912 goto subst; 912 goto subst;
913 } 913 }
914 else 914 else
976 subst_string: 976 subst_string:
977 start = XSTRING_DATA (tem); 977 start = XSTRING_DATA (tem);
978 length = XSTRING_LENGTH (tem); 978 length = XSTRING_LENGTH (tem);
979 subst: 979 subst:
980 bsize += length; 980 bsize += length;
981 new = (Ibyte *) xrealloc (buf, bsize); 981 new_ = (Ibyte *) xrealloc (buf, bsize);
982 bufp += new - buf; 982 bufp += new_ - buf;
983 buf = new; 983 buf = new_;
984 memcpy (bufp, start, length); 984 memcpy (bufp, start, length);
985 bufp += length; 985 bufp += length;
986 986
987 /* Reset STRDATA in case gc relocated it. */ 987 /* Reset STRDATA in case gc relocated it. */
988 strdata = XSTRING_DATA (string); 988 strdata = XSTRING_DATA (string);