diff options
| author | Chong Yidong | 2008-04-02 20:15:21 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-04-02 20:15:21 +0000 |
| commit | 9ae750f084864f8a7c4bf9a9ee7d0cd9e7014648 (patch) | |
| tree | a1c8d5b76dbcf089816c4bff53c7a0e476a5e703 /src | |
| parent | 526c9df9420a75c37bdb2cf2901c2919d4c5edd4 (diff) | |
| download | emacs-9ae750f084864f8a7c4bf9a9ee7d0cd9e7014648.tar.gz emacs-9ae750f084864f8a7c4bf9a9ee7d0cd9e7014648.zip | |
(Fforward_char, Fbackward_char, Fforward_line)
(Fbeginning_of_line, Fend_of_line): Add ^ interactive spec.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmds.c | 10 |
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 | ||
| 59 | DEFUN ("forward-char", Fforward_char, Sforward_char, 0, 1, "p", | 59 | DEFUN ("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). |
| 61 | On reaching end of buffer, stop and signal error. */) | 61 | On 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 | ||
| 95 | DEFUN ("backward-char", Fbackward_char, Sbackward_char, 0, 1, "p", | 95 | DEFUN ("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). |
| 97 | On attempt to pass beginning or end of buffer, stop and signal error. */) | 97 | On 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 | ||
| 110 | DEFUN ("forward-line", Fforward_line, Sforward_line, 0, 1, "p", | 110 | DEFUN ("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). |
| 112 | Precisely, if point is on line I, move to the start of line I + N. | 112 | Precisely, if point is on line I, move to the start of line I + N. |
| 113 | If there isn't room, go as far as possible (no error). | 113 | If 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 | ||
| 156 | DEFUN ("beginning-of-line", Fbeginning_of_line, Sbeginning_of_line, 0, 1, "p", | 156 | DEFUN ("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. |
| 158 | With argument N not nil or 1, move forward N - 1 lines first. | 158 | With argument N not nil or 1, move forward N - 1 lines first. |
| 159 | If point reaches the beginning or end of buffer, it stops there. | 159 | If 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 | ||
| 181 | DEFUN ("end-of-line", Fend_of_line, Send_of_line, 0, 1, "p", | 181 | DEFUN ("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. |
| 183 | With argument N not nil or 1, move forward N - 1 lines first. | 183 | With argument N not nil or 1, move forward N - 1 lines first. |
| 184 | If point reaches the beginning or end of buffer, it stops there. | 184 | If point reaches the beginning or end of buffer, it stops there. |