0

Is it possible to make some of the pcase conditions do nothing? How can I do this if possible?

Dilna
  • 1,173
  • 3
  • 10
  • 1
    What do you mean with 'do nothing'? And why do you want to include these cases in the pcase definition? – dalanicolai Oct 27 '22 at 20:11
  • I am working on the basic design, for the details to be completed later, some likely to be done by others. – Dilna Oct 27 '22 at 20:15
  • Each clause is of the form `(PATTERN BODY-FORMS)`, so I expect that if you have just the pattern in the clause with no body-forms, then nothing will happen when that pattern matches. – NickD Oct 28 '22 at 14:32
  • You can just put nil or something in the body. It doesn't have to *do* anything more than return a value. – cyberbisson Nov 09 '22 at 20:59

0 Answers0