Question

I am using Emacs with SML mode. Sometimes I need to clean the SML buffer. How can I do that.

Was it helpful?

Solution

Standard ML of New Jersey is a functional programming language that is a variant of ML. Usually it's used in EMACS with a plugin. Since I usually just kill the buffer and start a new one there wasn't the need for a clearscreen. However this might be useful: http://www.standardml.org/Basis/manpages.html.

OTHER TIPS

 (let ((sml-process (get-process "sml")))
    (when sml-process
      (quit-process sml-process)))
  (sleep-for 0.25)
  (let ((sml-buffer (get-buffer "*sml*")))
    (when sml-buffer
      (kill-buffer sml-buffer)))
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top