commit a6113f9c48132573b35cc88f141f4bd9f08e3b7d parent 62ede4c121c0a0a9917682f28adf746e21bbfa45 Author: Wilfred Hughes <me@wilfred.me.uk> Date: Sun, 24 Sep 2017 13:57:50 +0100 Clarify whether we're looking at a variable, function or macro Diffstat:
| M | helpful.el | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/helpful.el b/helpful.el @@ -567,7 +567,14 @@ state of the current symbol." (when helpful--callable-p (insert "\n\n")) (insert - (helpful--heading "Documentation\n") + (helpful--heading + (cond + ((not helpful--callable-p) + "Variable Documentation\n") + ((macrop helpful--sym) + "Macro Documentation\n") + (t + "Function Documentation\n"))) (helpful--format-docstring docstring)) (when (helpful--in-manual-p helpful--sym) (insert