Function: edt-one-word-backward
edt-one-word-backward is an interactive and byte-compiled function
defined in edt.el.gz.
Signature
(edt-one-word-backward)
Documentation
Move backward to first character of previous word.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/edt.el.gz
(defun edt-one-word-backward ()
"Move backward to first character of previous word."
(interactive)
(if (bobp)
(error "Beginning of buffer"))
(if (bolp)
(backward-char)
(progn
(backward-char)
(while (and
(not (bolp))
(not (bobp))
(eq ?\ (char-syntax (following-char)))
(not (memq (following-char) edt-word-entities)))
(backward-char))
(if (not (memq (following-char) edt-word-entities))
(while (and
(not (bolp))
(not (bobp))
(not (eq ?\ (char-syntax (preceding-char))))
(not (memq (preceding-char) edt-word-entities)))
(backward-char))))))