Function: calc-graph-delete

calc-graph-delete is an autoloaded, interactive and byte-compiled function defined in calc-graph.el.gz.

Signature

(calc-graph-delete ALL)

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-graph.el.gz
(defun calc-graph-delete (all)
  (interactive "P")
  (calc-wrapper
   (calc-graph-init)
   (with-current-buffer calc-gnuplot-input
     (and (calc-graph-find-plot t all)
	  (progn
	    (if (looking-at "s?plot")
		(progn
		  (setq calc-graph-var-cache nil)
		  (delete-region (point) (point-max)))
	      (delete-region (point) (1- (point-max)))))))
   (calc-graph-view-commands)))