diff options
| author | Eli Zaretskii | 2007-02-03 21:54:54 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-02-03 21:54:54 +0000 |
| commit | 3c86054304499a619d55ecb5bade0d2de8b4b8e3 (patch) | |
| tree | a68aca9035b45e2e6bfac7eb9beaeedfb17f3c8e /src | |
| parent | 87a0937544a4780247627d1eb906a9da76e44ec6 (diff) | |
| download | emacs-3c86054304499a619d55ecb5bade0d2de8b4b8e3.tar.gz emacs-3c86054304499a619d55ecb5bade0d2de8b4b8e3.zip | |
(Fmove_to_column): Document that the argument COLUMN is taken from prefix
numeric argument.
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/indent.c b/src/indent.c index 89d83164560..a48b8b590e8 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -909,6 +909,7 @@ indented_beyond_p (pos, pos_byte, column) | |||
| 909 | 909 | ||
| 910 | DEFUN ("move-to-column", Fmove_to_column, Smove_to_column, 1, 2, "p", | 910 | DEFUN ("move-to-column", Fmove_to_column, Smove_to_column, 1, 2, "p", |
| 911 | doc: /* Move point to column COLUMN in the current line. | 911 | doc: /* Move point to column COLUMN in the current line. |
| 912 | Interactively, COLUMN is the value of prefix numeric argument. | ||
| 912 | The column of a character is calculated by adding together the widths | 913 | The column of a character is calculated by adding together the widths |
| 913 | as displayed of the previous characters in the line. | 914 | as displayed of the previous characters in the line. |
| 914 | This function ignores line-continuation; | 915 | This function ignores line-continuation; |
| @@ -918,10 +919,10 @@ and horizontal scrolling has no effect. | |||
| 918 | If specified column is within a character, point goes after that character. | 919 | If specified column is within a character, point goes after that character. |
| 919 | If it's past end of line, point goes to end of line. | 920 | If it's past end of line, point goes to end of line. |
| 920 | 921 | ||
| 921 | A non-nil second (optional) argument FORCE means, | 922 | Optional second argument FORCE non-nil means if COLUMN is in the |
| 922 | if COLUMN is in the middle of a tab character, change it to spaces. | 923 | middle of a tab character, change it to spaces. |
| 923 | In addition, if FORCE is t, and the line is too short | 924 | In addition, if FORCE is t, and the line is too short to reach |
| 924 | to reach column COLUMN, add spaces/tabs to get there. | 925 | COLUMN, add spaces/tabs to get there. |
| 925 | 926 | ||
| 926 | The return value is the current column. */) | 927 | The return value is the current column. */) |
| 927 | (column, force) | 928 | (column, force) |