]> git.eshelyaron.com Git - emacs.git/commitdiff
* cmds.c (internal_self_insert): Rename local to avoid shadowing.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Mar 2011 17:16:01 +0000 (10:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Mar 2011 17:16:01 +0000 (10:16 -0700)
src/ChangeLog
src/cmds.c

index 40ba15de954acea8a08c9183c2c8ab72c0eb165b..bc2e0b972fabbebbece71e47b7bcc36c16e349f8 100644 (file)
@@ -1,5 +1,7 @@
 2011-03-15  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * cmds.c (internal_self_insert): Rename local to avoid shadowing.
+
        * lisp.h (GCPRO2_VAR, GCPRO3_VAR, GCPRO4_VAR, GCPRO5_VAR, GCPRO6_VAR):
        New macros, so that the caller can use some names other than
        gcpro1, gcpro2, etc.
index 5e6884c0807e3e64c73d6dee511c4969eed37629..fa1ac5028aec480e1590af2040ef100d5de818aa 100644 (file)
@@ -485,18 +485,18 @@ internal_self_insert (int c, EMACS_INT n)
        : (c == ' ' || c == '\n'))
       && !NILP (BVAR (current_buffer, auto_fill_function)))
     {
-      Lisp_Object tem;
+      Lisp_Object auto_fill_result;
 
       if (c == '\n')
        /* After inserting a newline, move to previous line and fill
           that.  Must have the newline in place already so filling and
           justification, if any, know where the end is going to be.  */
        SET_PT_BOTH (PT - 1, PT_BYTE - 1);
-      tem = call0 (BVAR (current_buffer, auto_fill_function));
+      auto_fill_result = call0 (BVAR (current_buffer, auto_fill_function));
       /* Test PT < ZV in case the auto-fill-function is strange.  */
       if (c == '\n' && PT < ZV)
        SET_PT_BOTH (PT + 1, PT_BYTE + 1);
-      if (!NILP (tem))
+      if (!NILP (auto_fill_result))
        hairy = 2;
     }