status = Mconfigured;
       config = MPLIST_NEXT (MPLIST_PLIST (config));
       if (! MPLIST_TAIL_P (config))
-       keyseq = MPLIST_NEXT (config);
+       keyseq = config;
     }
   else if (custom_cmds && (custom = mplist__assq (custom_cmds, name)))
     {
       if (! MPLIST_TAIL_P (custom))
        {
          status = Mcustomized;
-         keyseq = MPLIST_NEXT (custom);
+         keyseq = custom;
        }
     }
   
       config = MPLIST_NEXT (MPLIST_PLIST (config));
       if (! MPLIST_TAIL_P (config))
        {
-         value = MPLIST_NEXT (config);
+         value = config;
          if (MFAILP (check_variable_value (value, global ? global : plist)))
            value = NULL;
        }
       custom = MPLIST_NEXT (MPLIST_PLIST (custom));
       if (! MPLIST_TAIL_P (custom))
        {
-         value = MPLIST_NEXT (custom);
+         value = custom;
          if (MFAILP (check_variable_value (value, global ? global : plist)))
            value = NULL;
          status = Mcustomized;