Function: vip-check-sub

vip-check-sub is a byte-compiled function defined in vip.el.gz.

Signature

(vip-check-sub STR)

Documentation

check if ex-token is an initial segment of STR

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vip.el.gz
(defun vip-check-sub (str)
  "check if ex-token is an initial segment of STR"
  (let ((length (length ex-token)))
    (if (and (<= length (length str))
	     (string= ex-token (substring str 0 length)))
	(setq ex-token str)
      (setq ex-token-type "non-command"))))