Function: doctor-shorten
doctor-shorten is a byte-compiled function defined in doctor.el.gz.
Signature
(doctor-shorten SENT)
Documentation
Make a sentence manageably short using a few hacks.
Source Code
;; Defined in /usr/src/emacs/lisp/play/doctor.el.gz
(defun doctor-shorten (sent)
"Make a sentence manageably short using a few hacks."
(let (foo
(retval sent)
(temp '(because but however besides anyway until
while that except why how)))
(while temp
(setq foo (memq (car temp) sent))
(if (and foo
(> (length foo) 3))
(setq retval (doctor-fixup foo)
temp nil)
(setq temp (cdr temp))))
retval))