From 33f3d9aebb0b5c645a09109e347c2b176cf2c3d0 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Tue, 19 Oct 2004 14:41:18 +0000 Subject: [PATCH] (calc-graph-plot): Removed emacs version check. --- lisp/calc/calc-graph.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el index 70d044c202e..2c269dcfdce 100644 --- a/lisp/calc/calc-graph.el +++ b/lisp/calc/calc-graph.el @@ -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)