aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helpful.el12
1 files changed, 4 insertions, 8 deletions
diff --git a/helpful.el b/helpful.el
index ea68944..6d20b11 100644
--- a/helpful.el
+++ b/helpful.el
@@ -1016,15 +1016,11 @@ state of the current symbol."
(let* ((inhibit-read-only t)
(start-line (line-number-at-pos))
(start-column (current-column))
- (primitive-p (helpful--primitive-p
- helpful--sym helpful--callable-p))
+ (primitive-p (helpful--primitive-p helpful--sym helpful--callable-p))
(sym-type (cond
- ((not helpful--callable-p)
- "Variable")
- ((macrop helpful--sym)
- "Macro")
- (t
- "Function")))
+ ((not helpful--callable-p) "Variable")
+ ((macrop helpful--sym) "Macro")
+ (t "Function")))
(look-for-src (or (not primitive-p)
find-function-C-source-directory))
(source (when look-for-src