diff options
| author | Thien-Thi Nguyen | 2004-09-08 12:04:22 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2004-09-08 12:04:22 +0000 |
| commit | 78bba1c8dd2779447e9febabfb2e32e6c885599a (patch) | |
| tree | 5e8c9ac7649f71dcf7c0918b7179de493d7e45fc | |
| parent | 6cc52547443061bd5b5a6930353162cf0f377ead (diff) | |
| download | emacs-78bba1c8dd2779447e9febabfb2e32e6c885599a.tar.gz emacs-78bba1c8dd2779447e9febabfb2e32e6c885599a.zip | |
(byte-compile-generate-call-tree): Doc fix.
(display-call-tree): Ensure newline after caller/calls blocks.
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 0a12f6fae9f..2b0a8e698a6 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -354,7 +354,7 @@ Elements of the list may be be: | |||
| 354 | 354 | ||
| 355 | (defcustom byte-compile-generate-call-tree nil | 355 | (defcustom byte-compile-generate-call-tree nil |
| 356 | "*Non-nil means collect call-graph information when compiling. | 356 | "*Non-nil means collect call-graph information when compiling. |
| 357 | This records functions were called and from where. | 357 | This records which functions were called and from where. |
| 358 | If the value is t, compilation displays the call graph when it finishes. | 358 | If the value is t, compilation displays the call graph when it finishes. |
| 359 | If the value is neither t nor nil, compilation asks you whether to display | 359 | If the value is neither t nor nil, compilation asks you whether to display |
| 360 | the graph. | 360 | the graph. |
| @@ -3878,15 +3878,18 @@ invoked interactively." | |||
| 3878 | (mapconcat 'symbol-name callers ", ") | 3878 | (mapconcat 'symbol-name callers ", ") |
| 3879 | "<top level>")) | 3879 | "<top level>")) |
| 3880 | (let ((fill-prefix " ")) | 3880 | (let ((fill-prefix " ")) |
| 3881 | (fill-region-as-paragraph p (point))))) | 3881 | (fill-region-as-paragraph p (point))) |
| 3882 | (unless (= 0 (current-column)) | ||
| 3883 | (insert "\n")))) | ||
| 3882 | (if calls | 3884 | (if calls |
| 3883 | (progn | 3885 | (progn |
| 3884 | (insert " calls:\n") | 3886 | (insert " calls:\n") |
| 3885 | (setq p (point)) | 3887 | (setq p (point)) |
| 3886 | (insert " " (mapconcat 'symbol-name calls ", ")) | 3888 | (insert " " (mapconcat 'symbol-name calls ", ")) |
| 3887 | (let ((fill-prefix " ")) | 3889 | (let ((fill-prefix " ")) |
| 3888 | (fill-region-as-paragraph p (point))))) | 3890 | (fill-region-as-paragraph p (point))) |
| 3889 | (insert "\n") | 3891 | (unless (= 0 (current-column)) |
| 3892 | (insert "\n")))) | ||
| 3890 | (setq rest (cdr rest))) | 3893 | (setq rest (cdr rest))) |
| 3891 | 3894 | ||
| 3892 | (message "Generating call tree...(finding uncalled functions...)") | 3895 | (message "Generating call tree...(finding uncalled functions...)") |