diff options
| -rw-r--r-- | lisp/help.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el index ff1e9c8da1b..a0e195b3436 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -315,6 +315,7 @@ describes the minor mode." | |||
| 315 | (interactive) | 315 | (interactive) |
| 316 | (with-output-to-temp-buffer "*Help*" | 316 | (with-output-to-temp-buffer "*Help*" |
| 317 | (let ((minor-modes minor-mode-alist) | 317 | (let ((minor-modes minor-mode-alist) |
| 318 | (first t) | ||
| 318 | (locals (buffer-local-variables))) | 319 | (locals (buffer-local-variables))) |
| 319 | (while minor-modes | 320 | (while minor-modes |
| 320 | (let* ((minor-mode (car (car minor-modes))) | 321 | (let* ((minor-mode (car (car minor-modes))) |
| @@ -334,13 +335,17 @@ describes the minor mode." | |||
| 334 | 0 (match-beginning 0))))) | 335 | 0 (match-beginning 0))))) |
| 335 | (while (and indicator (symbolp indicator)) | 336 | (while (and indicator (symbolp indicator)) |
| 336 | (setq indicator (symbol-value indicator))) | 337 | (setq indicator (symbol-value indicator))) |
| 338 | (if first | ||
| 339 | (princ "The minor modes are described first, | ||
| 340 | followed by the major mode, which is described on the last page.\n\f\n")) | ||
| 341 | (setq first nil) | ||
| 337 | (princ (format "%s minor mode (%s):\n" | 342 | (princ (format "%s minor mode (%s):\n" |
| 338 | pretty-minor-mode | 343 | pretty-minor-mode |
| 339 | (if indicator | 344 | (if indicator |
| 340 | (format "indicator%s" indicator) | 345 | (format "indicator%s" indicator) |
| 341 | "no indicator"))) | 346 | "no indicator"))) |
| 342 | (princ (documentation minor-mode)) | 347 | (princ (documentation minor-mode)) |
| 343 | (princ "\n\n")))) | 348 | (princ "\n\f\n")))) |
| 344 | (setq minor-modes (cdr minor-modes)))) | 349 | (setq minor-modes (cdr minor-modes)))) |
| 345 | (princ mode-name) | 350 | (princ mode-name) |
| 346 | (princ " mode:\n") | 351 | (princ " mode:\n") |