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

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

Keywords as function arguments for control flow


From: Heime
Subject: Keywords as function arguments for control flow
Date: Thu, 28 Nov 2024 15:21:27 +0000

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) 





reply via email to

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