aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2021-03-19 00:49:48 -0700
committerGitHub <noreply@github.com>2021-03-19 00:49:48 -0700
commit716c116d6a9fafb16a5b1e6be5dbd8e82f357c7e (patch)
tree038b33d34264ec2be37ca399333389340093a675
parent88e53d3267e8168e056e96989e9cc8fb50d33c50 (diff)
parent79533a18c4a134806150ce5a0e45d0ad55238584 (diff)
Merge pull request #266 from nbfalcon/bugfix/keyboard-macro-space-dot
Keyboard macros: fix space before "."
-rw-r--r--helpful.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpful.el b/helpful.el
index 723746c..00efa00 100644
--- a/helpful.el
+++ b/helpful.el
@@ -1956,13 +1956,13 @@ OBJ may be a symbol or a compiled function object."
(helpful--buffer-button buf pos)))))
(primitive-p
"defined in C source code")
- ((helpful--kbd-macro-p sym) "")
+ ((helpful--kbd-macro-p sym) nil)
(t
"without a source file"))))
(s-word-wrap
70
- (format "%s is %s %s %s %s."
+ (format "%s is %s %s %s%s."
(if (symbolp sym)
(helpful--format-symbol sym)
"This lambda")
@@ -1973,7 +1973,7 @@ OBJ may be a symbol or a compiled function object."
"a")
description
kind
- defined))))
+ (if defined (concat " " defined) "")))))
(defun helpful--callees (form)
"Given source code FORM, return a list of all the functions called."