Re: Print key-value pairs from both plist and alist
Heime <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <tMfvXtGrzB90qCCspZeogHQHe6rFkJ6kAZfXehR5j1Pjb-nypbWJTtCP0x31D4I5rPXpaHI0fJIrODO-tTjAdBvTb2IvleWtqHwLHob2wBY=@protonmail.com> |
On Saturday, April 11th, 2026 at 2:44 AM, Heime <[email protected]> wrote: > I want to print key-value pairs using a function to which I can > pass either a plist or an alist as argument. > > Have seen different constructs to do so, but is there a clause > that will apply for both a plist and an alist? For hash tables I can use maphash to get key-value pairs. Is there some map equivalent for reading key-value pairs for both plists and alists?