(with-help-window (help-buffer)
(when (> (length info-list) 1)
;; FIXME: Make this into clickable hyperlinks.
- (princ "There were several key-sequences:\n\n")
- (princ (mapconcat (lambda (info)
- (pcase-let ((`(,_seq ,brief-desc ,_defn ,_locus)
- info))
- (concat " " brief-desc)))
- info-list
- "\n"))
+ (insert "There were several key-sequences:\n\n")
+ (insert (mapconcat (lambda (info)
+ (pcase-let ((`(,_seq ,brief-desc ,_defn ,_locus)
+ info))
+ (concat " " brief-desc)))
+ info-list
+ "\n"))
(when (delq nil on-link)
- (princ "\n\nThose are influenced by `mouse-1-click-follows-link'"))
- (princ "\n\nThey're all described below."))
+ (insert "\n\nThose are influenced by `mouse-1-click-follows-link'"))
+ (insert "\n\nThey're all described below."))
(pcase-dolist (`(,_seq ,brief-desc ,defn ,locus)
info-list)
(when defn
(with-current-buffer standard-output
(insert "\n\n" (make-separator-line) "\n")))
- (princ brief-desc)
+ (insert brief-desc)
(when locus
- (princ (format " (found in %s)" locus)))
- (princ ", which is ")
+ (insert (format " (found in %s)" locus)))
+ (insert ", which is ")
(describe-function-1 defn)))))))
\f
(defun search-forward-help-for-help ()