Variable: find-word-boundary-function-table

find-word-boundary-function-table is a variable defined in syntax.c.

Value

#^[nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
       nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
       nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
       nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
       nil nil nil]

Documentation

Char table of functions to search for the word boundary.

Each function is called with two arguments; POS and LIMIT. POS and LIMIT are character positions in the current buffer.

If POS is less than LIMIT, POS is at the first character of a word, and the return value of a function should be a position after the last character of that word.

If POS is not less than LIMIT, POS is at the last character of a word, and the return value of a function should be a position at the first character of that word.

In both cases, LIMIT bounds the search.

View in manual

Probably introduced at or before Emacs version 23.1.

Source Code

// Defined in /usr/src/emacs/src/syntax.c
  DEFVAR_LISP ("find-word-boundary-function-table",
	       Vfind_word_boundary_function_table,
	       doc: /*
Char table of functions to search for the word boundary.
Each function is called with two arguments; POS and LIMIT.
POS and LIMIT are character positions in the current buffer.

If POS is less than LIMIT, POS is at the first character of a word,
and the return value of a function should be a position after the
last character of that word.

If POS is not less than LIMIT, POS is at the last character of a word,
and the return value of a function should be a position at the first
character of that word.

In both cases, LIMIT bounds the search. */);