Function: vip-get-ex-command
vip-get-ex-command is a byte-compiled function defined in vip.el.gz.
Signature
(vip-get-ex-command)
Documentation
get an ex command
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/vip.el.gz
(defun vip-get-ex-command ()
"get an ex command"
(with-current-buffer " *ex-working-space*"
(if (looking-at "/") (forward-char 1))
(skip-chars-forward " \t")
(cond ((looking-at "[a-z]")
(vip-get-ex-com-subr)
(if (string= ex-token-type "non-command")
(error "%s: Not an editor command" ex-token)))
((looking-at "[!=><&~]")
(setq ex-token (char-to-string (following-char)))
(forward-char 1))
(t (error "Could not find an ex command")))))