The word 'plum', note, is used in the old-fashioned sense of a currant or raisin or sultana, rather than for the actual fruit which bears that name. It would have been one of these that Little Jack Horner was so self-satisfied at having extracted from his Xmas pie.