Function: ebnf-file
ebnf-file is a byte-compiled function defined in ebnf2ps.el.gz.
Signature
(ebnf-file FUN FILE &optional DO-NOT-KILL-BUFFER-WHEN-DONE)
Documentation
Process the named FILE applying function FUN.
If optional arg DO-NOT-KILL-BUFFER-WHEN-DONE is non-nil, the buffer isn't killed after process termination.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ebnf2ps.el.gz
(defun ebnf-file (fun file &optional do-not-kill-buffer-when-done)
"Process the named FILE applying function FUN.
If optional arg DO-NOT-KILL-BUFFER-WHEN-DONE is non-nil, the buffer isn't
killed after process termination."
(set-buffer (find-file-noselect file))
(funcall fun)
(or do-not-kill-buffer-when-done
(kill-buffer (current-buffer))))