aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2017-09-04 22:59:08 +0100
committerWilfred Hughes <me@wilfred.me.uk>2017-09-04 22:59:08 +0100
commit91ca5303f7ee2aae6935f0b0a3d9fd8f93ca30e7 (patch)
treecc6867affde34414457a7291e717e0c55619b91b
parent0998bf11e258914eb12e7082ae0b6f7a03c88864 (diff)
Syntax highlight function signatures
This is useful when they contain &optional.
-rw-r--r--helpful.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpful.el b/helpful.el
index 11e5387..26176e4 100644
--- a/helpful.el
+++ b/helpful.el
@@ -526,7 +526,7 @@ state of the current symbol."
(if (macrop helpful--sym)
"Macro Signature\n"
"Function Signature\n"))
- (helpful--signature helpful--sym)))
+ (helpful--syntax-highlight (helpful--signature helpful--sym))))
(-when-let (docstring (helpful--docstring
helpful--sym helpful--callable-p))