(TopLevel): Use `mapcar' instead of `dolist' for defining obsolete variables
authoryamaoka <yamaoka>
Thu, 29 Jul 1999 02:59:48 +0000 (02:59 +0000)
committeryamaoka <yamaoka>
Thu, 29 Jul 1999 02:59:48 +0000 (02:59 +0000)
and functions.

mu-cite.el

index 6c2e2e5..142a925 100644 (file)
     (mu-cite/top-format                        mu-cite-top-format)))
 
 (static-if (featurep 'xemacs)
-    (dolist (def mu-cite-obsolete-variable-alist)
-      (apply (function define-obsolete-variable-alias) def)))
-
-(dolist (def '((mu-cite/cite-original  mu-cite-original)
-              (mu-cite/get-field-value mu-cite-get-field-value)
-              (mu-cite/get-value       mu-cite-get-value)))
-  (apply (function define-obsolete-function-alias) def))
+    (mapcar
+     (function (lambda (elem)
+                (apply (function define-obsolete-variable-alias) elem)))
+     mu-cite-obsolete-variable-alist))
+
+(mapcar
+ (function (lambda (elem)
+            (apply (function define-obsolete-function-alias) elem)))
+ '((mu-cite/cite-original      mu-cite-original)
+   (mu-cite/get-field-value    mu-cite-get-field-value)
+   (mu-cite/get-value          mu-cite-get-value)))
 
 
 ;;; @ set up