diff options
author | Jay Belanger <jay.p.belanger@gmail.com> | 2004-10-19 14:41:18 +0000 |
---|---|---|
committer | Jay Belanger <jay.p.belanger@gmail.com> | 2004-10-19 14:41:18 +0000 |
commit | 33f3d9aebb0b5c645a09109e347c2b176cf2c3d0 (patch) | |
tree | 2a7dfc8740d4d95b00d0a2b10ac0561ddcc4b433 | |
parent | ab079f720226a3c8a0510bafee020bf1aafe57d5 (diff) | |
download | emacs-33f3d9aebb0b5c645a09109e347c2b176cf2c3d0.tar.gz |
(calc-graph-plot): Removed emacs version check.
-rw-r--r-- | lisp/calc/calc-graph.el | 8 |
1 files 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) |