all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Keywords as function arguments for control flow
@ 2024-11-28 15:21 Heime via Users list for the GNU Emacs text editor
  2024-11-29  6:18 ` Tassilo Horn
  2024-11-30 11:47 ` Jean Louis
  0 siblings, 2 replies; 7+ messages in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-11-28 15:21 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


How cam one use function arguments that use keywords for 
applying control operations with pcase or cond?

Consider this as example

(defun cuprat (seqr)

    (if (eq seqr 'global)
          (global-whitespace-mode 1)
      (whitespace-mode 1)) )

(cuprat 'global) 





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

end of thread, other threads:[~2024-11-30 14:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-28 15:21 Keywords as function arguments for control flow Heime via Users list for the GNU Emacs text editor
2024-11-29  6:18 ` Tassilo Horn
2024-11-29 21:06   ` [External] : " Drew Adams
2024-11-29 21:26     ` Heime via Users list for the GNU Emacs text editor
2024-11-30 11:47 ` Jean Louis
2024-11-30 11:55   ` Heime via Users list for the GNU Emacs text editor
2024-11-30 14:37     ` Jean Louis

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.