helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit d6751969e475d6383223631a1175a50e913a5333
parent e2806f532c7fb3ab320404163905d48f0b24a83a
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Mon,  5 Jun 2017 00:09:21 +0100

Silence some checkdoc warnings

Diffstat:
Mhelpful.el | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/helpful.el b/helpful.el @@ -57,11 +57,11 @@ "Propertize TEXT as a heading." (propertize text 'face 'bold)) -(defun helpful--pretty-print (val) +(defun helpful--pretty-print (value) "Pretty-print VALUE. This allows us to distinguish strings from symbols." (with-temp-buffer - (cl-prettyprint val) + (cl-prettyprint value) (s-trim (buffer-string)))) (defun helpful--format-properties (symbol) @@ -95,11 +95,12 @@ This allows us to distinguish strings from symbols." (message "Forgot %s %s" kind sym) (kill-buffer (current-buffer))))) -(defun helpful--forget-button (sym) - "Return a button that unbinds the current symbol" +(defun helpful--forget-button (symbol) + "Return a button that unbinds SYMBOL." (with-temp-buffer (insert-text-button "Forget" + 'symbol symbol :type 'helpful-forget-button) (buffer-string)))