help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does pcase need progn in if condition


From: pietru
Subject: Does pcase need progn in if condition
Date: Fri, 21 May 2021 11:25:50 +0200

Does "pcase" need progn in an "if" condition

--------

 (if condition

         (pcase n

            (0  (save-excursion (insert s)))

            ((or 1 2 3 4 5)
                (delete-region (point) b)
                (save-excursion (insert s)))

            (_  (delete-region (point) b))) ))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]