Function: mh-rmf-daemon

mh-rmf-daemon is a byte-compiled function defined in mh-funcs.el.gz.

Signature

(mh-rmf-daemon PROCESS OUTPUT)

Documentation

The rmf PROCESS puts OUTPUT in temporary buffer.

Display the results only if something went wrong.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-funcs.el.gz
(defun mh-rmf-daemon (_process output)
  "The rmf PROCESS puts OUTPUT in temporary buffer.
Display the results only if something went wrong."
  (set-buffer (get-buffer-create mh-temp-buffer))
  (insert-before-markers output)
  (when (save-excursion
          (goto-char (point-min))
          (re-search-forward "^rmf: " (point-max) t))
    (display-buffer mh-temp-buffer)))