You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something I wrote lately, it might find a home in this library.
(defunalist-append (key value alist)
"Return an ALIST with KEY mapped to VALUE `append'ed to the existing value.If VALUE (or the existing value) is not a list, it will beconverted into a single element list before being appended."
(let* ((existing (cdr (assoc key alist)))
(existing_ (if (listp existing) existing (list existing)))
(value_ (if (listp value) value (list value)))
(update (append value_ existing_)))
(cons (cons key update) alist)))
The text was updated successfully, but these errors were encountered:
Something I wrote lately, it might find a home in this library.
The text was updated successfully, but these errors were encountered: