# sage-view not working in emacs

I'm trying to use sage-view in emacs with sage-mode.

My emacs configuration for Sage is as follows:

```
(setq sage-dir "~/Programming/Sage/sage-5.0.1")
(add-to-list 'load-path (expand-file-name (concat sage-dir "/data/emacs")))
(require 'sage "sage")
(setq sage-command (concat sage-dir "/sage"))
(require 'sage-view "sage-view")
(add-hook 'sage-startup-hook 'sage-view
'sage-view-enable-inline-output 'sage-view-enable-inline-plots)
```

But when emacs starts up, sage-view is not started. I have to manually start it with `M-x sage-view`

.

Also, a grep in $SAGE_ROOT/data/emacs doesn't find `sage-startup-hook` defined anywhere. Maybe this changed in the latest version (I'm using 5.0.1)?