Function: vi-repeat-command-of

vi-repeat-command-of is a byte-compiled function defined in vi.el.gz.

Signature

(vi-repeat-command-of COMMAND)

Documentation

Return the command for redo the given command.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vi.el.gz
(defun vi-repeat-command-of (command)
  "Return the command for redo the given command."
  (let ((cmd-type (get command 'point-moving-unit)))
    (cond ((eq cmd-type 'search) 'vi-repeat-last-search)
	  ((eq cmd-type 'find) 'vi-repeat-last-find-char)
	  (t command))))