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

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

[elpa] externals/setup 383f184add: Add `append*`, `prepend*`, and `remov


From: ELPA Syncer
Subject: [elpa] externals/setup 383f184add: Add `append*`, `prepend*`, and `remove*` to doc string of `:local-set`.
Date: Sun, 12 Mar 2023 06:59:09 -0400 (EDT)

branch: externals/setup
commit 383f184addc303d054f7954922a37b07415729c1
Author: Earl Hyatt <okamsn@protonmail.com>
Commit: Philip Kaludercic <philipk@posteo.net>

    Add `append*`, `prepend*`, and `remove*` to doc string of `:local-set`.
---
 setup.el | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/setup.el b/setup.el
index f38eefa93a..45744875b1 100644
--- a/setup.el
+++ b/setup.el
@@ -686,7 +686,18 @@ supported:
                 list.
 
 (remove VAR)    Assuming VAR designates a list, remove all instances
-                of VAL."
+                of VAL.
+
+(append* VAR)   Assuming VAR designates a list, add each element
+                of VAL to the end of VAR, keeping their order,
+                unless it is already a member of the list.
+
+(prepend* VAR)  Assuming VAR designates a list, add each element
+                of VAL to the start of VAR, keeping their order,
+                unless it is already a member of the list.
+
+(remove* VAR)   Assuming VAR designates a list, remove all
+                instances of each element of VAL."
   :debug '(sexp form)
   :repeatable t)
 



reply via email to

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