aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/calc/calc-graph.el8
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 @@
289 (tty-output nil) 289 (tty-output nil)
290 cache-env is-splot device output resolution precision samples-pos) 290 cache-env is-splot device output resolution precision samples-pos)
291 (or (boundp 'calc-graph-prev-kill-hook) 291 (or (boundp 'calc-graph-prev-kill-hook)
292 (if calc-emacs-type-19 292 (setq calc-graph-prev-kill-hook nil)
293 (progn 293 (add-hook 'kill-emacs-hook 'calc-graph-kill-hook))
294 (setq calc-graph-prev-kill-hook nil)
295 (add-hook 'kill-emacs-hook 'calc-graph-kill-hook))
296 (setq calc-graph-prev-kill-hook kill-emacs-hook)
297 (setq kill-emacs-hook 'calc-graph-kill-hook)))
298 (save-excursion 294 (save-excursion
299 (calc-graph-init) 295 (calc-graph-init)
300 (set-buffer tempbuf) 296 (set-buffer tempbuf)