Function: dun-parse
dun-parse is an interactive and byte-compiled function defined in
dunnet.el.gz.
Signature
(dun-parse ARG)
Documentation
Function called when return is pressed in interactive mode to parse line.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/play/dunnet.el.gz
(defun dun-parse (_arg)
"Function called when return is pressed in interactive mode to parse line."
(interactive "*p" dun-mode)
(beginning-of-line)
(let ((beg (1+ (point)))
line)
(end-of-line)
(if (and (not (= beg (point))) (not (< (point) beg))
(string= ">" (buffer-substring (- beg 1) beg)))
(progn
(setq line (downcase (buffer-substring beg (point))))
(princ line)
(if (eq (dun-vparse dun-ignore dun-verblist line) -1)
(dun-mprincl "I don't understand that.")))
(goto-char (point-max))
(dun-mprinc "\n")))
(dun-messages))