aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2007-02-03 21:54:54 +0000
committerEli Zaretskii2007-02-03 21:54:54 +0000
commit3c86054304499a619d55ecb5bade0d2de8b4b8e3 (patch)
treea68aca9035b45e2e6bfac7eb9beaeedfb17f3c8e /src
parent87a0937544a4780247627d1eb906a9da76e44ec6 (diff)
downloademacs-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.c9
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
910DEFUN ("move-to-column", Fmove_to_column, Smove_to_column, 1, 2, "p", 910DEFUN ("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.
912Interactively, COLUMN is the value of prefix numeric argument.
912The column of a character is calculated by adding together the widths 913The column of a character is calculated by adding together the widths
913as displayed of the previous characters in the line. 914as displayed of the previous characters in the line.
914This function ignores line-continuation; 915This function ignores line-continuation;
@@ -918,10 +919,10 @@ and horizontal scrolling has no effect.
918If specified column is within a character, point goes after that character. 919If specified column is within a character, point goes after that character.
919If it's past end of line, point goes to end of line. 920If it's past end of line, point goes to end of line.
920 921
921A non-nil second (optional) argument FORCE means, 922Optional second argument FORCE non-nil means if COLUMN is in the
922if COLUMN is in the middle of a tab character, change it to spaces. 923middle of a tab character, change it to spaces.
923In addition, if FORCE is t, and the line is too short 924In addition, if FORCE is t, and the line is too short to reach
924to reach column COLUMN, add spaces/tabs to get there. 925COLUMN, add spaces/tabs to get there.
925 926
926The return value is the current column. */) 927The return value is the current column. */)
927 (column, force) 928 (column, force)