Function: doctor-ret-or-read
doctor-ret-or-read is an interactive and byte-compiled function
defined in doctor.el.gz.
Signature
(doctor-ret-or-read ARG)
Documentation
Insert a newline if preceding character is not a newline.
Otherwise call the Doctor to parse preceding sentence.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/play/doctor.el.gz
(defun doctor-ret-or-read (arg)
"Insert a newline if preceding character is not a newline.
Otherwise call the Doctor to parse preceding sentence."
(interactive "*p" doctor-mode)
(if (= (preceding-char) ?\n)
(doctor-read-print)
(newline arg)))