Function: subword-find-word-boundary

subword-find-word-boundary is a byte-compiled function defined in subword.el.gz.

Signature

(subword-find-word-boundary POS LIMIT)

Documentation

Catch-all handler in subword-find-word-boundary-function-table.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/subword.el.gz
(defun subword-find-word-boundary (pos limit)
  "Catch-all handler in `subword-find-word-boundary-function-table'."
  (let ((find-word-boundary-function-table subword-empty-char-table))
    (save-match-data
      (save-excursion
        (save-restriction
          (if (< pos limit)
              (progn
                (goto-char pos)
                (narrow-to-region (point-min) limit)
                (funcall subword-forward-function))
            (goto-char (1+ pos))
            (narrow-to-region limit (point-max))
            (funcall subword-backward-function))
          (point))))))