aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-11-04 17:46:27 +0200
committerEli Zaretskii2023-11-04 17:46:27 +0200
commit18e2de1bec9c2d49a9d7352db04b44deeea6a22b (patch)
treebf4bd6f0d0c9173e7ea77f115a03580c29c3fd39
parent4f0fc3bfda3707fbf7f4296f29b8cfb8b8397390 (diff)
downloademacs-18e2de1bec9c2d49a9d7352db04b44deeea6a22b.tar.gz
emacs-18e2de1bec9c2d49a9d7352db04b44deeea6a22b.zip
; * lisp/bindings.el (right-word, left-word): Doc fix.
-rw-r--r--lisp/bindings.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index e118fa1a35c..084e3a2060c 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -942,6 +942,14 @@ or backward in the buffer. This is in contrast with \\[forward-word]
942and \\[backward-word], which see. 942and \\[backward-word], which see.
943 943
944Value is normally t. 944Value is normally t.
945
946The word boundaries are normally determined by the buffer's syntax
947table and character script (according to `char-script-table'), but
948`find-word-boundary-function-table', such as set up by `subword-mode',
949can change that. If a Lisp program needs to move by words determined
950strictly by the syntax table, it should use `forward-word-strictly'
951instead. See Info node `(elisp) Word Motion' for details.
952
945If an edge of the buffer or a field boundary is reached, point is left there 953If an edge of the buffer or a field boundary is reached, point is left there
946and the function returns nil. Field boundaries are not noticed 954and the function returns nil. Field boundaries are not noticed
947if `inhibit-field-text-motion' is non-nil." 955if `inhibit-field-text-motion' is non-nil."
@@ -958,6 +966,14 @@ or forward in the buffer. This is in contrast with \\[backward-word]
958and \\[forward-word], which see. 966and \\[forward-word], which see.
959 967
960Value is normally t. 968Value is normally t.
969
970The word boundaries are normally determined by the buffer's syntax
971table and character script (according to `char-script-table'), but
972`find-word-boundary-function-table', such as set up by `subword-mode',
973can change that. If a Lisp program needs to move by words determined
974strictly by the syntax table, it should use `forward-word-strictly'
975instead. See Info node `(elisp) Word Motion' for details.
976
961If an edge of the buffer or a field boundary is reached, point is left there 977If an edge of the buffer or a field boundary is reached, point is left there
962and the function returns nil. Field boundaries are not noticed 978and the function returns nil. Field boundaries are not noticed
963if `inhibit-field-text-motion' is non-nil." 979if `inhibit-field-text-motion' is non-nil."