       (search-backward "$")
       (setq end (point))
       (buffer-substring-no-properties beg end))))
-
 
 (add-hook 'yacas-start-shell-hooks 'yacas-toggle-prettyform)
 

                   (delete-process inferior-yacas-process))
               (setq inferior-yacas-process nil)
               (run-hooks 'inferior-yacas-exit-hook))) t t)
  (run-hooks 'inferior-yacas-mode-hook))

;;;; Interacting with the Yacas process

  "*The indentation in yacas-mode"
  :group 'yacas
  :type 'integer)

(defcustom yacas-use-emacs-help t
  "*If non-nil, use browse-url to get help"
  :group 'yacas
  :type 'boolean)

;(defcustom yacas-prompt-regexp "^\\(In> \\|Out> \\)"
;  "A regular expression for the Yacas prompt."
