X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=alist.el;h=d8d8d18cfe994b2b752cfea8855cb2b687b54dab;hb=ae176df66b89811cf1233cf82c0039e22cbe563a;hp=485107e95468f9d81ae7876f76240edda9c9eb03;hpb=203c90150b8c7da7ecf23b433196773d4f3f7eae;p=elisp%2Fapel.git diff --git a/alist.el b/alist.el index 485107e..d8d8d18 100644 --- a/alist.el +++ b/alist.el @@ -19,8 +19,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Code: @@ -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)))