diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2017-07-22 13:00:11 +0100 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2017-07-22 13:00:11 +0100 |
| commit | efa395ee083a648478f5e7601b183ee87e5537db (patch) | |
| tree | 610e8cde7082ea2d48a7d9bb8b008384f2fbaae8 | |
| parent | a18eff2b2fa0980126e2884f119791a2cf31231e (diff) | |
Don't show compiled functions on symbol properties
They're often messy and rarely interesting. See cadr for an example.
| -rw-r--r-- | helpful.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -75,7 +75,9 @@ This allows us to distinguish strings from symbols." (format "%s %s" (propertize (symbol-name sym) 'face 'font-lock-constant-face) - (helpful--pretty-print val))) + (if (eq (type-of val) 'compiled-function) + "#<compiled-function>" + (helpful--pretty-print val)))) syms-and-vals))) (when lines (s-join "\n" lines)))) |
