diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-11-04 17:46:27 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-11-04 17:46:27 +0200 |
commit | 18e2de1bec9c2d49a9d7352db04b44deeea6a22b (patch) | |
tree | bf4bd6f0d0c9173e7ea77f115a03580c29c3fd39 | |
parent | 4f0fc3bfda3707fbf7f4296f29b8cfb8b8397390 (diff) | |
download | emacs-18e2de1bec9c2d49a9d7352db04b44deeea6a22b.tar.gz emacs-18e2de1bec9c2d49a9d7352db04b44deeea6a22b.tar.bz2 emacs-18e2de1bec9c2d49a9d7352db04b44deeea6a22b.zip |
; * lisp/bindings.el (right-word, left-word): Doc fix.
-rw-r--r-- | lisp/bindings.el | 16 |
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] and \\[backward-word], which see. Value is normally t. + +The word boundaries are normally determined by the buffer's syntax +table and character script (according to `char-script-table'), but +`find-word-boundary-function-table', such as set up by `subword-mode', +can change that. If a Lisp program needs to move by words determined +strictly by the syntax table, it should use `forward-word-strictly' +instead. See Info node `(elisp) Word Motion' for details. + If an edge of the buffer or a field boundary is reached, point is left there and the function returns nil. Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil." @@ -958,6 +966,14 @@ or forward in the buffer. This is in contrast with \\[backward-word] and \\[forward-word], which see. Value is normally t. + +The word boundaries are normally determined by the buffer's syntax +table and character script (according to `char-script-table'), but +`find-word-boundary-function-table', such as set up by `subword-mode', +can change that. If a Lisp program needs to move by words determined +strictly by the syntax table, it should use `forward-word-strictly' +instead. See Info node `(elisp) Word Motion' for details. + If an edge of the buffer or a field boundary is reached, point is left there and the function returns nil. Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil." |