all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Does pcase need progn in if condition
@ 2021-05-21  9:25 pietru
  2021-05-21 17:09 ` Christopher Dimech
  2021-05-21 21:26 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 8+ messages in thread
From: pietru @ 2021-05-21  9:25 UTC (permalink / raw)
  To: Help Gnu Emacs


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))) ))



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-05-22 11:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-21  9:25 Does pcase need progn in if condition pietru
2021-05-21 17:09 ` Christopher Dimech
2021-05-22  4:39   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22  9:09     ` Jean Louis
2021-05-22  9:32       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 11:08         ` Jean Louis
2021-05-22 11:37           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-21 21:26 ` Emanuel Berg via Users list for the GNU Emacs text editor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.