Function: ex-line-subr
ex-line-subr is a byte-compiled function defined in viper-ex.el.gz.
Signature
(ex-line-subr COM BEG END)
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/viper-ex.el.gz
(defun ex-line-subr (com beg end)
(cond ((string= com "join")
(goto-char (min beg end))
(while (and (not (eobp)) (< (point) (max beg end)))
(end-of-line)
(if (and (<= (point) (max beg end)) (not (eobp)))
(progn
(forward-line 1)
(delete-region (point) (1- (point)))
(if (not ex-variant) (fixup-whitespace))))))
((or (string= com "right") (string= com "left"))
(indent-rigidly
(min beg end) (max beg end)
(if (string= com "right") viper-shift-width (- viper-shift-width)))
(goto-char (max beg end))
(end-of-line)
(viper-forward-char-carefully))))