emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/webpaste 9972cf4 224/298: Fix some checkdock warnings


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste 9972cf4 224/298: Fix some checkdock warnings
Date: Thu, 9 Dec 2021 19:00:18 -0500 (EST)

branch: elpa/webpaste
commit 9972cf46345fd01f713056642e35b56a889348fb
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>

    Fix some checkdock warnings
---
 webpaste.el | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/webpaste.el b/webpaste.el
index faaf663..6b58f9d 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -161,15 +161,13 @@ the docs for `webpaste--provider'."
 
 ;; modified from https://emacs.stackexchange.com/a/33893/12534
 (defun webpaste--alist-set (key val alist)
-  "Set property KEY to VAL in ALIST. Return new alist.
-This creates the association if it is missing, and otherwise sets
-the cdr of the first matching association in the list. It does
-not create duplicate associations. Key comparison is done with
-`equal'.
-
-This method may mutate the original alist, but you still need to
-use the return value of this method instead of the original
-alist, to ensure correct results."
+  "Set property KEY to VAL in ALIST.
+Return new alist.  This creates the association if it is missing, and otherwise
+sets the cdr of the first matching association in the list.  It does not create
+duplicate associations.  Key comparison is done with `equal'.
+
+This method may mutate the original alist, but you still need to use the return
+value of this method instead of the original alist, to ensure correct results."
   (let ((pair (assoc key alist)))
     (if pair
         (setcdr pair val)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]