X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=alist.el;h=37522a5e54299b74fc5ac5e70d26f51718be4392;hb=e168e5c74a9ca5910a7e959a82a57a603336cdeb;hp=485107e95468f9d81ae7876f76240edda9c9eb03;hpb=203c90150b8c7da7ecf23b433196773d4f3f7eae;p=elisp%2Fapel.git diff --git a/alist.el b/alist.el index 485107e..37522a5 100644 --- a/alist.el +++ b/alist.el @@ -40,7 +40,7 @@ return a new alist whose car is the new pair and cdr is ALIST." (defun del-alist (key alist) "Delete an element whose car equals KEY from ALIST. Return the modified ALIST." - (let ((pair (assoc item alist))) + (let ((pair (assoc key alist))) (if pair (delq pair alist) alist)))