aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/help-fns.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 481360b5d3c..9cd30107002 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -632,7 +632,11 @@ the C sources, too."
632 (format-message "`%s'" remapped) 632 (format-message "`%s'" remapped)
633 "an anonymous command")) 633 "an anonymous command"))
634 (princ "as well.\n")) 634 (princ "as well.\n"))
635 (or remapped (princ ".")) 635 ;; The (= (point) start) condition tests whether
636 ;; 'help-fns--insert-menu-bindings' inserted anything;
637 ;; if it didn't, we already have a period from the
638 ;; previous 'princ' call.
639 (or remapped (= (point) start) (princ "."))
636 (fill-region-as-paragraph start (point)))) 640 (fill-region-as-paragraph start (point))))
637 (ensure-empty-lines))))))) 641 (ensure-empty-lines)))))))
638 642