emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/keyboard.c


From: Pavel Janík
Subject: [Emacs-diffs] Changes to emacs/src/keyboard.c
Date: Sun, 24 Mar 2002 15:29:38 -0500

Index: emacs/src/keyboard.c
diff -c emacs/src/keyboard.c:1.664 emacs/src/keyboard.c:1.665
*** emacs/src/keyboard.c:1.664  Thu Mar 21 16:32:50 2002
--- emacs/src/keyboard.c        Sun Mar 24 15:29:38 2002
***************
*** 649,655 ****
  /* After a command is executed, if point is moved into a region that
     has specific properties (e.g. composition, display), we adjust
     point to the boundary of the region.  But, if a command sets this
!    valiable to non-nil, we suppress this point adjustment.  This
     variable is set to nil before reading a command.  */
  
  Lisp_Object Vdisable_point_adjustment;
--- 649,655 ----
  /* After a command is executed, if point is moved into a region that
     has specific properties (e.g. composition, display), we adjust
     point to the boundary of the region.  But, if a command sets this
!    variable to non-nil, we suppress this point adjustment.  This
     variable is set to nil before reading a command.  */
  
  Lisp_Object Vdisable_point_adjustment;
***************
*** 1240,1246 ****
  /* Here we catch errors in execution of commands within the
     editing loop, and reenter the editing loop.
     When there is an error, cmd_error runs and returns a non-nil
!    value to us.  A value of nil means that cmd_loop_1 itself
     returned due to end of file (or end of kbd macro).  */
  
  Lisp_Object
--- 1240,1246 ----
  /* Here we catch errors in execution of commands within the
     editing loop, and reenter the editing loop.
     When there is an error, cmd_error runs and returns a non-nil
!    value to us.  A value of nil means that command_loop_1 itself
     returned due to end of file (or end of kbd macro).  */
  
  Lisp_Object
***************
*** 2027,2033 ****
     the `display' property).  POS is the position in that string under
     the mouse.
  
!    OK_TO_IVERWRITE_KEYSTROKE_ECHO non-zero means it's okay if the help
     echo overwrites a keystroke echo currently displayed in the echo
     area.
  
--- 2027,2033 ----
     the `display' property).  POS is the position in that string under
     the mouse.
  
!    OK_TO_OVERWRITE_KEYSTROKE_ECHO non-zero means it's okay if the help
     echo overwrites a keystroke echo currently displayed in the echo
     area.
  
***************
*** 2324,2330 ****
       all, or it's from echoing from a different kboard than the
       current one.  */
    
!   if (/* There currently something in the echo area  */
        !NILP (echo_area_buffer[0])
        && (/* And it's either not from echoing.  */
          !EQ (echo_area_buffer[0], echo_message_buffer)
--- 2324,2330 ----
       all, or it's from echoing from a different kboard than the
       current one.  */
    
!   if (/* There currently is something in the echo area.  */
        !NILP (echo_area_buffer[0])
        && (/* And it's either not from echoing.  */
          !EQ (echo_area_buffer[0], echo_message_buffer)
***************
*** 4758,4764 ****
                                      Qfunction_key,
                                      current_kboard->Vsystem_key_alist,
                                      0, &current_kboard->system_key_syms,
!                                     (unsigned)-1);
        }
  
  #ifdef XK_kana_A
--- 4758,4764 ----
                                      Qfunction_key,
                                      current_kboard->Vsystem_key_alist,
                                      0, &current_kboard->system_key_syms,
!                                     (unsigned) -1);
        }
  
  #ifdef XK_kana_A
***************
*** 5391,5397 ****
      case TOOL_BAR_EVENT:
        if (EQ (event->arg, event->frame_or_window))
        /* This is the prefix key.  We translate this to
!          `(tool_bar)' because the code in keyboard.c for menu
           events, which we use, relies on this.  */
        return Fcons (Qtool_bar, Qnil);
        else if (SYMBOLP (event->arg))
--- 5391,5397 ----
      case TOOL_BAR_EVENT:
        if (EQ (event->arg, event->frame_or_window))
        /* This is the prefix key.  We translate this to
!          `(tool_bar)' because the code in keyboard.c for tool bar
           events, which we use, relies on this.  */
        return Fcons (Qtool_bar, Qnil);
        else if (SYMBOLP (event->arg))
***************
*** 7092,7098 ****
   ***********************************************************************/
  
  /* A vector holding tool bar items while they are parsed in function
!    tool_bar_items runs Each item occupies TOOL_BAR_ITEM_NSCLOTS elements
     in the vector.  */
  
  static Lisp_Object tool_bar_items_vector;
--- 7092,7098 ----
   ***********************************************************************/
  
  /* A vector holding tool bar items while they are parsed in function
!    tool_bar_items. Each item occupies TOOL_BAR_ITEM_NSCLOTS elements
     in the vector.  */
  
  static Lisp_Object tool_bar_items_vector;
***************
*** 7399,7405 ****
               && (CONSP (value)
                   || (VECTORP (value) && XVECTOR (value)->size == 4)))
        /* Value is either a single image specification or a vector
!          of 4 such specifications for the different buttion states.  */
        PROP (TOOL_BAR_ITEM_IMAGES) = value;
      }
  
--- 7399,7405 ----
               && (CONSP (value)
                   || (VECTORP (value) && XVECTOR (value)->size == 4)))
        /* Value is either a single image specification or a vector
!          of 4 such specifications for the different button states.  */
        PROP (TOOL_BAR_ITEM_IMAGES) = value;
      }
  
***************
*** 9549,9555 ****
  
  /* Return nonzero if there are pending requeued events.
     This isn't used yet.  The hope is to make wait_reading_process_input
!    call it, and return return if it runs Lisp code that unreads something.
     The problem is, kbd_buffer_get_event needs to be fixed to know what
     to do in that case.  It isn't trivial.  */
  
--- 9549,9555 ----
  
  /* Return nonzero if there are pending requeued events.
     This isn't used yet.  The hope is to make wait_reading_process_input
!    call it, and return if it runs Lisp code that unreads something.
     The problem is, kbd_buffer_get_event needs to be fixed to know what
     to do in that case.  It isn't trivial.  */
  
***************
*** 9861,9867 ****
    input_available_clear_time = 0;
  }
  
! /* This routine is called at interrupt level in response to C-G.
     
     If interrupt_input, this is the handler for SIGINT.  Otherwise, it
     is called from kbd_buffer_store_event, in handling SIGIO or
--- 9861,9867 ----
    input_available_clear_time = 0;
  }
  
! /* This routine is called at interrupt level in response to C-g.
     
     If interrupt_input, this is the handler for SIGINT.  Otherwise, it
     is called from kbd_buffer_store_event, in handling SIGIO or



reply via email to

[Prev in Thread] Current Thread [Next in Thread]