From 8cab8f5237616e10d3f5fb35d2a701ec779159c9 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sat, 9 Feb 2008 22:32:14 +0100 Subject: Fix overzealous style cleanups. darcs-hash:c5c0a79734ae2d8be8b1c08e3c3e63f84df64a86 --- Lisp/class-definition.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Lisp') diff --git a/Lisp/class-definition.lisp b/Lisp/class-definition.lisp index 6b0f78f..85f3eb6 100644 --- a/Lisp/class-definition.lisp +++ b/Lisp/class-definition.lisp @@ -121,11 +121,11 @@ class &allow-other-keys) (when (and (not foreign-name) (not foreign-slot)) - (setq foreign-name (slot-name->foreign-slot-name name) + (setf foreign-name (slot-name->foreign-slot-name name) (slot-value slot-definition 'foreign-name) foreign-name)) (cond ((and foreign-name foreign-slot)) (foreign-name - (setq foreign-slot + (setf foreign-slot (or (find foreign-name (mapcan #'objcl-class-direct-slots (c2mop:compute-class-precedence-list @@ -137,7 +137,7 @@ class)) (slot-value slot-definition 'foreign-slot) foreign-slot)) (foreign-slot - (setq foreign-name (objcl-slot-name foreign-slot) + (setf foreign-name (objcl-slot-name foreign-slot) (slot-value slot-definition 'foreign-name) foreign-name))) (unless foreign-type (setf (slot-value slot-definition 'foreign-type) -- cgit v1.2.3