comparison src/redisplay.c @ 298:70ad99077275 r21-0b47

Import from CVS: tag r21-0b47
author cvs
date Mon, 13 Aug 2007 10:39:40 +0200
parents 4b85ae5eabfb
children afd57c14dfc8
comparison
equal deleted inserted replaced
297:deca3c1083ac 298:70ad99077275
5754 break; 5754 break;
5755 5755
5756 /* print the current column */ 5756 /* print the current column */
5757 case 'c': 5757 case 'c':
5758 { 5758 {
5759 int col = current_column (b) + !!column_number_start_at_one; 5759 Bufpos pt = (w == XWINDOW (Fselected_window (Qnil)))
5760 ? BUF_PT (b)
5761 : marker_position (w->pointm[type]);
5762 int col = column_at_point (b, pt, 1) + !!column_number_start_at_one;
5760 char buf[32]; 5763 char buf[32];
5761 5764
5762 long_to_string (buf, col); 5765 long_to_string (buf, col);
5763 5766
5764 Dynarr_add_many (mode_spec_bufbyte_string, 5767 Dynarr_add_many (mode_spec_bufbyte_string,