]> git.eshelyaron.com Git - emacs.git/commitdiff
* commands.h (last_point_position, last_point_position_buffer):
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 07:02:21 +0000 (00:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 07:02:21 +0000 (00:02 -0700)
(last_point_position_window): Remove decls.
* keyboard.c: Make these variables static.

src/ChangeLog
src/commands.h
src/keyboard.c

index 35acd030955cc0d8807ec83af493047891d27ec6..57c5be9a7e232365d3dc0f964970cda0f5a5369e 100644 (file)
@@ -1,5 +1,9 @@
 2011-04-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * commands.h (last_point_position, last_point_position_buffer):
+       (last_point_position_window): Remove decls.
+       * keyboard.c: Make these variables static.
+
        * coding.h (coding, code_convert_region, encode_coding_gap): Remove
        decls.
        * coding.c (Vsjis_coding_system, Vbig5_coding_system):
index 925e0ba1b80b4992bc8a90d7860c77c3449bbd1f..bcd5de441809bba98d427e9fe15d6019e3d85421 100644 (file)
@@ -36,15 +36,6 @@ extern Lisp_Object control_x_map;
    events until a non-ASCII event is acceptable as input.  */
 extern Lisp_Object unread_switch_frame;
 
-/* The value of point when the last command was started.  */
-extern EMACS_INT last_point_position;
-
-/* The buffer that was current when the last command was started.  */
-extern Lisp_Object last_point_position_buffer;
-
-/* The window that was selected when the last command was started.  */
-extern Lisp_Object last_point_position_window;
-
 /* Nonzero means ^G can quit instantly */
 extern int immediate_quit;
 
@@ -55,4 +46,3 @@ extern int immediate_quit;
 /* Set this nonzero to force reconsideration of mode line. */
 
 extern int update_mode_lines;
-
index f4afe0006859bf0b55d2c5701925801931417d93..92a44de6dae3f724e66fd878692d5581e41d2c65 100644 (file)
@@ -213,13 +213,13 @@ int last_auto_save;
 Lisp_Object real_this_command;
 
 /* The value of point when the last command was started.  */
-EMACS_INT last_point_position;
+static EMACS_INT last_point_position;
 
 /* The buffer that was current when the last command was started.  */
-Lisp_Object last_point_position_buffer;
+static Lisp_Object last_point_position_buffer;
 
 /* The window that was selected when the last command was started.  */
-Lisp_Object last_point_position_window;
+static Lisp_Object last_point_position_window;
 
 /* The frame in which the last input event occurred, or Qmacro if the
    last event came from a macro.  We use this to determine when to