Function: vip-get-ex-opt-gc

vip-get-ex-opt-gc is a byte-compiled function defined in vip.el.gz.

Signature

(vip-get-ex-opt-gc)

Documentation

get an ex option g or c

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vip.el.gz
(defun vip-get-ex-opt-gc ()
  "get an ex option g or c"
  (with-current-buffer " *ex-working-space*"
    (if (looking-at "/") (forward-char 1))
    (skip-chars-forward " \t")
    (cond ((looking-at "g")
	   (setq ex-token "g")
	   (forward-char 1)
	   t)
	  ((looking-at "c")
	   (setq ex-token "c")
	   (forward-char 1)
	   t)
	  (t nil))))