# HG changeset patch # User Jay Belanger # Date 1098196878 0 # Node ID 63d364b66fec092195dc13d2d30936a5c230fca1 # Parent 4bde174d41de5003c22d9e3e5a1f5d345888e673 (calc-graph-plot): Removed emacs version check. diff -r 4bde174d41de -r 63d364b66fec lisp/calc/calc-graph.el --- a/lisp/calc/calc-graph.el Tue Oct 19 14:39:57 2004 +0000 +++ b/lisp/calc/calc-graph.el Tue Oct 19 14:41:18 2004 +0000 @@ -289,12 +289,8 @@ (tty-output nil) cache-env is-splot device output resolution precision samples-pos) (or (boundp 'calc-graph-prev-kill-hook) - (if calc-emacs-type-19 - (progn - (setq calc-graph-prev-kill-hook nil) - (add-hook 'kill-emacs-hook 'calc-graph-kill-hook)) - (setq calc-graph-prev-kill-hook kill-emacs-hook) - (setq kill-emacs-hook 'calc-graph-kill-hook))) + (setq calc-graph-prev-kill-hook nil) + (add-hook 'kill-emacs-hook 'calc-graph-kill-hook)) (save-excursion (calc-graph-init) (set-buffer tempbuf)