changeset 9682:976ef7da7753

(decode_mode_spec): New spec %c, for current column.
author Karl Heuer <kwzh@gnu.org>
date Tue, 25 Oct 1994 00:45:21 +0000
parents 06061a86c50a
children 224c0f70cc1b
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Oct 24 23:30:14 1994 +0000
+++ b/src/xdisp.c	Tue Oct 25 00:45:21 1994 +0000
@@ -3018,6 +3018,10 @@
 #endif
       break;
 
+    case 'c':
+      sprintf (decode_mode_spec_buf, "%d", current_column ());
+      return decode_mode_spec_buf;
+
     case 'l':
       {
 	int startpos = marker_position (w->start);