aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-08-13 16:35:08 +0200
committerJoakim Verona2013-08-13 16:35:08 +0200
commit88790a579512914b5608d9756cae9bb982ce7c41 (patch)
treed75059f56d3905b5d525b795162f7c2b1e0e6c8f /src
parente87eb4578d1dabd7805c7c501bccf3fd1c442958 (diff)
parentf73f4ce69f4b2e8f6c422aca8f8cc36ef72fa725 (diff)
downloademacs-88790a579512914b5608d9756cae9bb982ce7c41.tar.gz
emacs-88790a579512914b5608d9756cae9bb982ce7c41.zip
merge from trunk
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/cmds.c2
-rw-r--r--src/syntax.c1
3 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7c6f9c3557f..28e8ab66e37 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2
3 * syntax.c (forward_word):
4 * cmds.c (forward_char, backward_char): Mention the optional argument.
5
12013-08-13 Dmitry Antipov <dmantipov@yandex.ru> 62013-08-13 Dmitry Antipov <dmantipov@yandex.ru>
2 7
3 * window.h (struct window): Convert left_fringe_width 8 * window.h (struct window): Convert left_fringe_width
diff --git a/src/cmds.c b/src/cmds.c
index 3ebad50184a..ce91877f85e 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -86,6 +86,7 @@ DEFUN ("forward-char", Fforward_char, Sforward_char, 0, 1, "^p",
86 doc: /* Move point N characters forward (backward if N is negative). 86 doc: /* Move point N characters forward (backward if N is negative).
87On reaching end or beginning of buffer, stop and signal error. 87On reaching end or beginning of buffer, stop and signal error.
88Interactively, N is the numeric prefix argument. 88Interactively, N is the numeric prefix argument.
89If N is omitted or nil, move point 1 character forward.
89 90
90Depending on the bidirectional context, the movement may be to the 91Depending on the bidirectional context, the movement may be to the
91right or to the left on the screen. This is in contrast with 92right or to the left on the screen. This is in contrast with
@@ -99,6 +100,7 @@ DEFUN ("backward-char", Fbackward_char, Sbackward_char, 0, 1, "^p",
99 doc: /* Move point N characters backward (forward if N is negative). 100 doc: /* Move point N characters backward (forward if N is negative).
100On attempt to pass beginning or end of buffer, stop and signal error. 101On attempt to pass beginning or end of buffer, stop and signal error.
101Interactively, N is the numeric prefix argument. 102Interactively, N is the numeric prefix argument.
103If N is omitted or nil, move point 1 character backward.
102 104
103Depending on the bidirectional context, the movement may be to the 105Depending on the bidirectional context, the movement may be to the
104right or to the left on the screen. This is in contrast with 106right or to the left on the screen. This is in contrast with
diff --git a/src/syntax.c b/src/syntax.c
index 6d52d115889..f5b37303a4a 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1464,6 +1464,7 @@ scan_words (register ptrdiff_t from, register EMACS_INT count)
1464 1464
1465DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p", 1465DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p",
1466 doc: /* Move point forward ARG words (backward if ARG is negative). 1466 doc: /* Move point forward ARG words (backward if ARG is negative).
1467If ARG is omitted or nil, move point forward one word.
1467Normally returns t. 1468Normally returns t.
1468If an edge of the buffer or a field boundary is reached, point is left there 1469If an edge of the buffer or a field boundary is reached, point is left there
1469and the function returns nil. Field boundaries are not noticed if 1470and the function returns nil. Field boundaries are not noticed if