aboutsummaryrefslogtreecommitdiff
path: root/lux-mode
diff options
context:
space:
mode:
authorEduardo Julian2022-08-11 04:15:07 -0400
committerEduardo Julian2022-08-11 04:15:07 -0400
commit065e8a4d8122d4616b570496915d2c0e2c78cd6b (patch)
treef2bbdc3e40b796b34026ab04c9a478d8a3f082d5 /lux-mode
parent68d78235694c633c956bb9e8a007cad7d65370bc (diff)
Re-named the "case" macro to "when".
Diffstat (limited to 'lux-mode')
-rw-r--r--lux-mode/lux-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-mode/lux-mode.el b/lux-mode/lux-mode.el
index b7329e753..9e0d6b8d2 100644
--- a/lux-mode/lux-mode.el
+++ b/lux-mode/lux-mode.el
@@ -361,7 +361,7 @@ Called by `imenu--generic-function'."
(int&fracRE (literal (concat integer "\\(\\." natural "\\(\\(e\\|E\\)" integer "\\)?\\)?")))
(revRE (literal (concat "\\." natural)))
(specialRE (let (;; Control
- (control//flow (altRE "case" "exec" "let" "if" "cond" "loop" "do" "be"))
+ (control//flow (altRE "when" "exec" "let" "if" "cond" "loop" "do" "be"))
(control//pattern-matching (altRE "open"))
(control//logic (altRE "and" "or"))
(control//contract (altRE "pre" "post"))
@@ -610,7 +610,7 @@ This function also returns nil meaning don't specify the indentation."
("capability" 'defun)
(let 'defun)
- (case 'defun)
+ (when 'defun)
(do 'defun)
(exec 'defun)
(be 'defun)