diff options
| author | Paul Eggert | 2011-04-11 00:02:21 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-11 00:02:21 -0700 |
| commit | 14a9c8df7aea649633c74000600965913c6b0b2a (patch) | |
| tree | 1c411221418050c4f880d6bf2b7042e900ec4584 /src | |
| parent | 74ab6df507f0f4707a8bd25924fbdba9d1610f4f (diff) | |
| download | emacs-14a9c8df7aea649633c74000600965913c6b0b2a.tar.gz emacs-14a9c8df7aea649633c74000600965913c6b0b2a.zip | |
* commands.h (last_point_position, last_point_position_buffer):
(last_point_position_window): Remove decls.
* keyboard.c: Make these variables static.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/commands.h | 10 | ||||
| -rw-r--r-- | src/keyboard.c | 6 |
3 files changed, 7 insertions, 13 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 35acd030955..57c5be9a7e2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2011-04-11 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * commands.h (last_point_position, last_point_position_buffer): | ||
| 4 | (last_point_position_window): Remove decls. | ||
| 5 | * keyboard.c: Make these variables static. | ||
| 6 | |||
| 3 | * coding.h (coding, code_convert_region, encode_coding_gap): Remove | 7 | * coding.h (coding, code_convert_region, encode_coding_gap): Remove |
| 4 | decls. | 8 | decls. |
| 5 | * coding.c (Vsjis_coding_system, Vbig5_coding_system): | 9 | * coding.c (Vsjis_coding_system, Vbig5_coding_system): |
diff --git a/src/commands.h b/src/commands.h index 925e0ba1b80..bcd5de44180 100644 --- a/src/commands.h +++ b/src/commands.h | |||
| @@ -36,15 +36,6 @@ extern Lisp_Object control_x_map; | |||
| 36 | events until a non-ASCII event is acceptable as input. */ | 36 | events until a non-ASCII event is acceptable as input. */ |
| 37 | extern Lisp_Object unread_switch_frame; | 37 | extern Lisp_Object unread_switch_frame; |
| 38 | 38 | ||
| 39 | /* The value of point when the last command was started. */ | ||
| 40 | extern EMACS_INT last_point_position; | ||
| 41 | |||
| 42 | /* The buffer that was current when the last command was started. */ | ||
| 43 | extern Lisp_Object last_point_position_buffer; | ||
| 44 | |||
| 45 | /* The window that was selected when the last command was started. */ | ||
| 46 | extern Lisp_Object last_point_position_window; | ||
| 47 | |||
| 48 | /* Nonzero means ^G can quit instantly */ | 39 | /* Nonzero means ^G can quit instantly */ |
| 49 | extern int immediate_quit; | 40 | extern int immediate_quit; |
| 50 | 41 | ||
| @@ -55,4 +46,3 @@ extern int immediate_quit; | |||
| 55 | /* Set this nonzero to force reconsideration of mode line. */ | 46 | /* Set this nonzero to force reconsideration of mode line. */ |
| 56 | 47 | ||
| 57 | extern int update_mode_lines; | 48 | extern int update_mode_lines; |
| 58 | |||
diff --git a/src/keyboard.c b/src/keyboard.c index f4afe000685..92a44de6dae 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -213,13 +213,13 @@ int last_auto_save; | |||
| 213 | Lisp_Object real_this_command; | 213 | Lisp_Object real_this_command; |
| 214 | 214 | ||
| 215 | /* The value of point when the last command was started. */ | 215 | /* The value of point when the last command was started. */ |
| 216 | EMACS_INT last_point_position; | 216 | static EMACS_INT last_point_position; |
| 217 | 217 | ||
| 218 | /* The buffer that was current when the last command was started. */ | 218 | /* The buffer that was current when the last command was started. */ |
| 219 | Lisp_Object last_point_position_buffer; | 219 | static Lisp_Object last_point_position_buffer; |
| 220 | 220 | ||
| 221 | /* The window that was selected when the last command was started. */ | 221 | /* The window that was selected when the last command was started. */ |
| 222 | Lisp_Object last_point_position_window; | 222 | static Lisp_Object last_point_position_window; |
| 223 | 223 | ||
| 224 | /* The frame in which the last input event occurred, or Qmacro if the | 224 | /* The frame in which the last input event occurred, or Qmacro if the |
| 225 | last event came from a macro. We use this to determine when to | 225 | last event came from a macro. We use this to determine when to |