]> git.eshelyaron.com Git - emacs.git/commitdiff
* callint.c: Use const pointer when appropriate.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Mar 2011 07:26:16 +0000 (00:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Mar 2011 07:26:16 +0000 (00:26 -0700)
src/ChangeLog
src/callint.c

index e70683dd12a89f23e55544f08ff5ecfebaab6249..ca43ce4dc8f91d719a3fe159f025351c2dee6f92 100644 (file)
@@ -2,6 +2,7 @@
 
        * callint.c (quotify_arg, quotify_args): Now static.
        (Fcall_interactively): Rename locals to avoid shadowing.
+       Use const pointer when appropriate.
 
        * lisp.h (get_system_name, get_operating_system_release):
        Move decls here, to check interfaces.
index 5ec916a5b8a25d25d9ff17357ac1b9b7d4a45cb8..282d8a82aa79c8464d4ec7dad844327967c312d5 100644 (file)
@@ -258,7 +258,7 @@ invoke it.  If KEYS is omitted or nil, the return value of
 
   Lisp_Object prefix_arg;
   char *string;
-  char *tem;
+  const char *tem;
 
   /* If varies[i] > 0, the i'th argument shouldn't just have its value
      in this call quoted in the command history.  It should be