Except for one matter the sages said regarding a thing that is not a complete prohibition, they permitted it on Yom Kippur and not on Shabbat, as the Rambam wrote there, and this is his wording: It is permitted to trim vegetables on Yom Kippur from Mincha and onwards. And what is trimming? That he removes the moldy leaves, and cuts the rest, and prepares it for eating. And so too one may crack nuts and peel pomegranates from Mincha and onwards, because of mental distress. And a Yom Kippur that falls on Shabbat – it is forbidden to trim vegetables, and to crack nuts, and to peel pomegranates the entire day. And the people in Shinar and in the West have already practiced not to do any of these on the fast day, but rather it is like Shabbat in all its matters. Thus far his words. The explanation of the matters: For there is no melacha in this, only mere exertion. And on Shabbat it is forbidden to exert oneself for a weekday, but on Yom Kippur they permitted it because of mental distress, meaning: that they would see and be pained. And this is not like selecting food from waste, for they are all food. Nevertheless, they have practiced now to forbid it. And so it is in the Gemara (Shabbat 114b) that they began to treat it lightly to trim even before Mincha, and they forbade it. And based on this they practiced that the children play with nuts, and one should not protest against them, even before Mincha. And the custom developed from the law of cracking nuts that was mentioned. And now we have not seen this custom, and one should protest against children who do so. And if a fire broke out on Yom Kippur – it is permitted to rescue one meal for the needs of the night. And regarding the primary laws of fire even on Shabbat, it was explained in siman 334, see there.
לבד דבר אחד אמרו חכמים בדבר שאינו איסור גמור, התירו ביום הכיפורים ולא בשבת, כמו שכתב הרמב"ם שם, וזה לשונו: ומותר לקנב את הירק ביום הכיפורים מן המנחה ולמעלה. ומהו הקינוב? שיסיר את העלים המעופשים, ויקצץ השאר, ויתקן אותו לאכילה. וכן מפצעין באגוזים, ומפרכין ברמונים מן המנחה ולמעלה, מפני עגמת נפש. ויום הכיפורים שחל בשבת – אסור בקניבת ירק, ובפציעת אגוזים, ובפריכת רמונים כל היום. וכבר נהגו העם בשנער ובמערב שלא יעשו אחד מכל אלו ביום הצום, אלא הרי הוא כשבת לכל דבריו. עד כאן לשונו. ביאור הדברים: דאין בזה מלאכה, רק טורח בעלמא. ובשבת אסור לטרוח לחול, אך ביום הכיפורים התירו מפני עגמת נפש, כלומר: שיראו ויצטערו. ואין זה כבורר אוכל מפסולת, דכולהו אוכל נינהו. ומכל מקום נהגו עתה לאסור. וכן יש בגמרא (שבת קיד ב) שהתחילו לזלזל לקנוב גם קודם המנחה, ואסרו. ועל פי זה נהגו שהתינוקות משחקים באגוזים, ואין למחות בידם, אפילו קודם מנחה. ונשתרבב המנהג מדין פציעת אגוזים שנזכר. ועכשיו לא ראינו מנהג זה, ויש למחות בתינוקות העושים כן. ואם נפלה דליקה ביום הכיפורים – מותר להציל סעודה אחת לצורך הלילה. ובעיקר דיני דליקה גם בשבת נתבאר בסימן שלד, עיין שם.