emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] trunk r116878: Sync with upstream vhdl mode v3.35.1


From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r116878: Sync with upstream vhdl mode v3.35.1
Date: Fri, 28 Mar 2014 18:53:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> BTW, I was a heavy user of the (now deprecated) assoc package and  didn't
> find a suitable replacement.

(aget alist key t) is just a convoluted way to do (cdr (assoc key alist))
(aget alist key) is probably equivalent to

   (let ((x (assoc key alist))) (if x (or (cdr x) key)))

tho it's a sufficiently strange behavior that I doubt you'll ever
need/want it.

`aput' is generally advantageously replaced by `push'.


        Stefan



reply via email to

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