aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmds.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 6d09556f32c..ed37603eb45 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -56,7 +56,7 @@ DEFUN ("forward-point", Fforward_point, Sforward_point, 1, 1, 0,
56 return make_number (PT + XINT (n)); 56 return make_number (PT + XINT (n));
57} 57}
58 58
59DEFUN ("forward-char", Fforward_char, Sforward_char, 0, 1, "p", 59DEFUN ("forward-char", Fforward_char, Sforward_char, 0, 1, "^p",
60 doc: /* Move point right N characters (left if N is negative). 60 doc: /* Move point right N characters (left if N is negative).
61On reaching end of buffer, stop and signal error. */) 61On reaching end of buffer, stop and signal error. */)
62 (n) 62 (n)
@@ -92,7 +92,7 @@ On reaching end of buffer, stop and signal error. */)
92 return Qnil; 92 return Qnil;
93} 93}
94 94
95DEFUN ("backward-char", Fbackward_char, Sbackward_char, 0, 1, "p", 95DEFUN ("backward-char", Fbackward_char, Sbackward_char, 0, 1, "^p",
96 doc: /* Move point left N characters (right if N is negative). 96 doc: /* Move point left N characters (right if N is negative).
97On attempt to pass beginning or end of buffer, stop and signal error. */) 97On attempt to pass beginning or end of buffer, stop and signal error. */)
98 (n) 98 (n)
@@ -107,7 +107,7 @@ On attempt to pass beginning or end of buffer, stop and signal error. */)
107 return Fforward_char (n); 107 return Fforward_char (n);
108} 108}
109 109
110DEFUN ("forward-line", Fforward_line, Sforward_line, 0, 1, "p", 110DEFUN ("forward-line", Fforward_line, Sforward_line, 0, 1, "^p",
111 doc: /* Move N lines forward (backward if N is negative). 111 doc: /* Move N lines forward (backward if N is negative).
112Precisely, if point is on line I, move to the start of line I + N. 112Precisely, if point is on line I, move to the start of line I + N.
113If there isn't room, go as far as possible (no error). 113If there isn't room, go as far as possible (no error).
@@ -153,7 +153,7 @@ With positive N, a non-empty line at the end counts as one line
153 return make_number (count <= 0 ? - shortage : shortage); 153 return make_number (count <= 0 ? - shortage : shortage);
154} 154}
155 155
156DEFUN ("beginning-of-line", Fbeginning_of_line, Sbeginning_of_line, 0, 1, "p", 156DEFUN ("beginning-of-line", Fbeginning_of_line, Sbeginning_of_line, 0, 1, "^p",
157 doc: /* Move point to beginning of current line. 157 doc: /* Move point to beginning of current line.
158With argument N not nil or 1, move forward N - 1 lines first. 158With argument N not nil or 1, move forward N - 1 lines first.
159If point reaches the beginning or end of buffer, it stops there. 159If point reaches the beginning or end of buffer, it stops there.
@@ -178,7 +178,7 @@ instead. For instance, `(forward-line 0)' does the same thing as
178 return Qnil; 178 return Qnil;
179} 179}
180 180
181DEFUN ("end-of-line", Fend_of_line, Send_of_line, 0, 1, "p", 181DEFUN ("end-of-line", Fend_of_line, Send_of_line, 0, 1, "^p",
182 doc: /* Move point to end of current line. 182 doc: /* Move point to end of current line.
183With argument N not nil or 1, move forward N - 1 lines first. 183With argument N not nil or 1, move forward N - 1 lines first.
184If point reaches the beginning or end of buffer, it stops there. 184If point reaches the beginning or end of buffer, it stops there.