/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.843.2.15 by miles, Mon Jun 28 07:29:24 2004 UTC revision 1.843.2.16 by miles, Tue Jun 29 16:46:06 2004 UTC
# Line 6426  add_to_log (format, arg1, arg2) Line 6426  add_to_log (format, arg1, arg2)
6426    char *buffer;    char *buffer;
6427    int len;    int len;
6428    struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;    struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
6429      USE_SAFE_ALLOCA;
6430    
6431    /* Do nothing if called asynchronously.  Inserting text into    /* Do nothing if called asynchronously.  Inserting text into
6432       a buffer may call after-change-functions and alike and       a buffer may call after-change-functions and alike and
# Line 6442  add_to_log (format, arg1, arg2) Line 6443  add_to_log (format, arg1, arg2)
6443    msg = Fformat (3, args);    msg = Fformat (3, args);
6444    
6445    len = SBYTES (msg) + 1;    len = SBYTES (msg) + 1;
6446    buffer = (char *) alloca (len);    SAFE_ALLOCA (buffer, char *, len);
6447    bcopy (SDATA (msg), buffer, len);    bcopy (SDATA (msg), buffer, len);
6448    
6449    message_dolog (buffer, len - 1, 1, 0);    message_dolog (buffer, len - 1, 1, 0);
6450      SAFE_FREE (len);
6451    
6452    UNGCPRO;    UNGCPRO;
6453  }  }
6454    

Legend:
Removed from v.1.843.2.15  
changed lines
  Added in v.1.843.2.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26