changeset 4249:5f6e6ea4c7af

(doctor-type-symbol): Win if auto-fill-function is nil.
author Richard M. Stallman <rms@gnu.org>
date Fri, 23 Jul 1993 18:33:00 +0000
parents 9d4ec373d478
children d7d028324845
files lisp/play/doctor.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/play/doctor.el	Fri Jul 23 18:15:22 1993 +0000
+++ b/lisp/play/doctor.el	Fri Jul 23 18:33:00 1993 +0000
@@ -1376,8 +1376,9 @@
 	     (not *print-space*))
 	 (insert word))
 	(t (insert ?\  word)))
-  (if (> (current-column) fill-column)
-      (apply auto-fill-function nil))
+  (and auto-fill-function
+       (> (current-column) fill-column)
+       (apply auto-fill-function nil))
   (setq *print-upcase* (string-match "[.?!]$" word)
 	*print-space* t))