changeset 57593:63d364b66fec

(calc-graph-plot): Removed emacs version check.
author Jay Belanger <jay.p.belanger@gmail.com>
date Tue, 19 Oct 2004 14:41:18 +0000
parents 4bde174d41de
children 072bb54df5bd
files lisp/calc/calc-graph.el
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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)