diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2019-02-03 01:12:11 -0800 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2019-02-03 01:12:11 -0800 |
| commit | b80701b193bddfffdacd2ab065749cc63d0e45d0 (patch) | |
| tree | 6d3e11590334cce38fe52ae62c8de404129d9240 | |
| parent | cf24f963bd77f679f09057c55c6a4683b3f3a5cb (diff) | |
If there are no primitives, don't show that header
| -rw-r--r-- | helpful.el | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -657,10 +657,10 @@ overrides that to include previously opened buffers." (insert (format "Functions called by %s:\n\n" sym)) (helpful--display-callee-group compounds) - (insert "\n") - - (insert (format "Primitives called by %s:\n\n" sym)) - (helpful--display-callee-group primitives) + (when primitives + (insert "\n") + (insert (format "Primitives called by %s:\n\n" sym)) + (helpful--display-callee-group primitives)) (goto-char (point-min)) |
