Function: chart-zap-chars

chart-zap-chars is a byte-compiled function defined in chart.el.gz.

Signature

(chart-zap-chars N)

Documentation

Zap up to N chars without deleting EOLs.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/chart.el.gz
(defun chart-zap-chars (n)
  "Zap up to N chars without deleting EOLs."
  (if (not (eobp))
      (if (< n (- (point-at-eol) (point)))
	  (delete-char n)
	(delete-region (point) (point-at-eol)))))