]> git.eshelyaron.com Git - emacs.git/commitdiff
(calc-graph-plot): Removed emacs version check.
authorJay Belanger <jay.p.belanger@gmail.com>
Tue, 19 Oct 2004 14:41:18 +0000 (14:41 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Tue, 19 Oct 2004 14:41:18 +0000 (14:41 +0000)
lisp/calc/calc-graph.el

index 70d044c202e5cbd8b89092b639297c624cec7495..2c269dcfdcedee941497ff73b5ac4a29f106c5da 100644 (file)
         (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)