Function: dabbrev--goto-start-of-abbrev

dabbrev--goto-start-of-abbrev is a byte-compiled function defined in dabbrev.el.gz.

Signature

(dabbrev--goto-start-of-abbrev)

Documentation

Back over all abbrev type characters then move forward over all skip characters.

Source Code

;; Defined in /usr/src/emacs/lisp/dabbrev.el.gz
(defun dabbrev--goto-start-of-abbrev ()
  "Back over all abbrev type characters then move forward over all skip characters."
  ;; Move backwards over abbrev chars
  (save-match-data
    (when (> (point) (minibuffer-prompt-end))
      (forward-char -1)
      (while (and (looking-at dabbrev--abbrev-char-regexp)
		  (> (point) (minibuffer-prompt-end))
		  (not (= (point) (field-beginning (point) nil
						   (1- (point))))))
	(forward-char -1))
      (or (looking-at dabbrev--abbrev-char-regexp)
	  (forward-char 1)))
    (and dabbrev-abbrev-skip-leading-regexp
	 (while (looking-at dabbrev-abbrev-skip-leading-regexp)
	   (forward-char 1)))))