Mercurial > emacs
comparison src/indent.c @ 1208:fa662930e654
* indent.c (Fmove_to_column): Pass the right number of arguments
to Findent_to.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 23 Sep 1992 12:45:50 +0000 |
parents | bb24f1180bb6 |
children | 4edfaa19c7a7 |
comparison
equal
deleted
inserted
replaced
1207:af619d68a576 | 1208:fa662930e654 |
---|---|
275 "Move point to column COLUMN in the current line.\n\ | 275 "Move point to column COLUMN in the current line.\n\ |
276 The column of a character is calculated by adding together the widths\n\ | 276 The column of a character is calculated by adding together the widths\n\ |
277 as displayed of the previous characters in the line.\n\ | 277 as displayed of the previous characters in the line.\n\ |
278 This function ignores line-continuation;\n\ | 278 This function ignores line-continuation;\n\ |
279 there is no upper limit on the column number a character can have\n\ | 279 there is no upper limit on the column number a character can have\n\ |
280 and horizontal scrolling has no effect.\n\n\ | 280 and horizontal scrolling has no effect.\n\ |
281 \n\ | |
281 If specified column is within a character, point goes after that character.\n\ | 282 If specified column is within a character, point goes after that character.\n\ |
282 If it's past end of line, point goes to end of line.\n\n\ | 283 If it's past end of line, point goes to end of line.\n\n\ |
283 A non-nil second (optional) argument FORCE means, if the line\n\ | 284 A non-nil second (optional) argument FORCE means, if the line\n\ |
284 is too short to reach column COLUMN then add spaces/tabs to get there,\n\ | 285 is too short to reach column COLUMN then add spaces/tabs to get there,\n\ |
285 and if COLUMN is in the middle of a tab character, change it to spaces.") | 286 and if COLUMN is in the middle of a tab character, change it to spaces.") |
353 SET_PT (old_point); | 354 SET_PT (old_point); |
354 } | 355 } |
355 | 356 |
356 /* If line ends prematurely, add space to the end. */ | 357 /* If line ends prematurely, add space to the end. */ |
357 if (col < goal && !NILP (force)) | 358 if (col < goal && !NILP (force)) |
358 Findent_to (make_number (col = goal)); | 359 Findent_to (make_number (col = goal), Qnil); |
359 | 360 |
360 last_known_column = col; | 361 last_known_column = col; |
361 last_known_column_point = point; | 362 last_known_column_point = point; |
362 last_known_column_modified = MODIFF; | 363 last_known_column_modified = MODIFF; |
363 | 364 |