Function: vip-change-mode-line

vip-change-mode-line is a byte-compiled function defined in vip.el.gz.

Signature

(vip-change-mode-line STRING)

Documentation

Assuming that the mode line format contains the string "Emacs:", this
function replaces the string by "Vi: " etc.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vip.el.gz
(defun vip-change-mode-line (string)
  "Assuming that the mode line format contains the string \"Emacs:\", this
function replaces the string by \"Vi:   \" etc."
  (setq mode-line-buffer-identification
	(if (string= string "Emacs:")
	    vip-emacs-mode-line-buffer-identification
	  (list (concat string " %17b")))))