aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-08-25 16:34:36 +0000
committerRichard M. Stallman1996-08-25 16:34:36 +0000
commit962ae6365c1bbdab1aafe8b8508dc4006258174a (patch)
treefe7e9238be1bc064740925e3d4c069f129cf0cc6 /src
parent6b19c22961d80c1a4fbfee9485465e56f671486f (diff)
downloademacs-962ae6365c1bbdab1aafe8b8508dc4006258174a.tar.gz
emacs-962ae6365c1bbdab1aafe8b8508dc4006258174a.zip
(command_loop_1): Check column_number_displayed
in the selected window, not Vcolumn_number_mode. (Vcolumn_number_mode): Variable deleted. (syms_of_keyboard): Delete Lisp variable column-number-mode.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index e01e7e17f93..d394cc4f701 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -521,9 +521,6 @@ int flow_control;
521#ifdef HAVE_WINDOW_SYSTEM 521#ifdef HAVE_WINDOW_SYSTEM
522#define POLL_FOR_INPUT 522#define POLL_FOR_INPUT
523#endif 523#endif
524
525/* Non-nil enables Column Number mode. */
526Lisp_Object Vcolumn_number_mode;
527 524
528/* Global variable declarations. */ 525/* Global variable declarations. */
529 526
@@ -1263,7 +1260,7 @@ command_loop_1 ()
1263 && !windows_or_buffers_changed 1260 && !windows_or_buffers_changed
1264 && EQ (current_buffer->selective_display, Qnil) 1261 && EQ (current_buffer->selective_display, Qnil)
1265 && !detect_input_pending () 1262 && !detect_input_pending ()
1266 && NILP (Vcolumn_number_mode) 1263 && NILP (XWINDOW (selected_window)->column_number_displayed)
1267 && NILP (Vexecuting_macro)) 1264 && NILP (Vexecuting_macro))
1268 no_redisplay = direct_output_forward_char (1); 1265 no_redisplay = direct_output_forward_char (1);
1269 goto directly_done; 1266 goto directly_done;
@@ -1287,7 +1284,7 @@ command_loop_1 ()
1287 && !windows_or_buffers_changed 1284 && !windows_or_buffers_changed
1288 && EQ (current_buffer->selective_display, Qnil) 1285 && EQ (current_buffer->selective_display, Qnil)
1289 && !detect_input_pending () 1286 && !detect_input_pending ()
1290 && NILP (Vcolumn_number_mode) 1287 && NILP (XWINDOW (selected_window)->column_number_displayed)
1291 && NILP (Vexecuting_macro)) 1288 && NILP (Vexecuting_macro))
1292 no_redisplay = direct_output_forward_char (-1); 1289 no_redisplay = direct_output_forward_char (-1);
1293 goto directly_done; 1290 goto directly_done;
@@ -1317,7 +1314,7 @@ command_loop_1 ()
1317 || windows_or_buffers_changed 1314 || windows_or_buffers_changed
1318 || !EQ (current_buffer->selective_display, Qnil) 1315 || !EQ (current_buffer->selective_display, Qnil)
1319 || detect_input_pending () 1316 || detect_input_pending ()
1320 || !NILP (Vcolumn_number_mode) 1317 || !NILP (XWINDOW (selected_window)->column_number_displayed)
1321 || !NILP (Vexecuting_macro)); 1318 || !NILP (Vexecuting_macro));
1322 value = internal_self_insert (c, 0); 1319 value = internal_self_insert (c, 0);
1323 if (value) 1320 if (value)
@@ -8172,10 +8169,6 @@ The value can be a length of time to show the message for.\n\
8172If the value is non-nil and not a number, we wait 2 seconds."); 8169If the value is non-nil and not a number, we wait 2 seconds.");
8173 Vsuggest_key_bindings = Qt; 8170 Vsuggest_key_bindings = Qt;
8174 8171
8175 DEFVAR_LISP ("column-number-mode", &Vcolumn_number_mode,
8176 "Non-nil enables display of the current column number in the mode line.");
8177 Vcolumn_number_mode = Qnil;
8178
8179 DEFVAR_LISP ("timer-list", &Vtimer_list, 8172 DEFVAR_LISP ("timer-list", &Vtimer_list,
8180 "List of active absolute time timers in order of increasing time"); 8173 "List of active absolute time timers in order of increasing time");
8181 Vtimer_list = Qnil; 8174 Vtimer_list = Qnil;