summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2026-01-18 14:32:10 +0100
committerJonas Bernoulli <jonas@bernoul.li>2026-01-18 14:32:10 +0100
commite08a9ccf29e28aae43988458789dea04a562ccd1 (patch)
tree2ec9212ec481b98f3c0d67e2086c5f7edb7695fd
parentfdd6dd0a8c7a5d3f4c116946cab0f5921d438c2e (diff)
Mention when$ in documentation
-rw-r--r--README.org2
-rw-r--r--cond-let.el8
2 files changed, 6 insertions, 4 deletions
diff --git a/README.org b/README.org
index abb1d79..68fd762 100644
--- a/README.org
+++ b/README.org
@@ -11,7 +11,7 @@ Emacs provides the binding conditionals ~if-let~, ~if-let*~,
~when-let~, ~when-let*~, ~and-let*~ and ~while-let~.
This package implements the missing ~and-let~ and ~while-let*~,
-and the original ~cond-let~, ~cond-let*~, ~and$~ and ~and>~.
+and the original ~cond-let~, ~cond-let*~, ~when$~, ~and$~ and ~and>~.
This package additionally provides more consistent and improved
implementations of the binding conditionals already provided by
diff --git a/cond-let.el b/cond-let.el
index b67c27c..57886b1 100644
--- a/cond-let.el
+++ b/cond-let.el
@@ -36,7 +36,8 @@
;; `when-let', `when-let*', `and-let*' and `while-let'.
;; This package implements the missing `and-let' and `while-let*',
-;; and the original `cond-let', `cond-let*', `and$' and `and>'.
+;; and the original `cond-let', `cond-let*', `when$', `and$' and
+;; `and>'.
;; This package additionally provides more consistent and improved
;; implementations of the binding conditionals already provided by
@@ -60,6 +61,7 @@
;; ("and>" . "cond-let--and>")
;; ("and-let" . "cond-let--and-let")
;; ("if-let" . "cond-let--if-let")
+;; ("when$" . "cond-let--when$")
;; ("when-let" . "cond-let--when-let")
;; ("while-let" . "cond-let--while-let"))
;; End:
@@ -72,8 +74,8 @@
;; Due to limitations of the shorthand implementation this has to be
;; done for each individual library. "dir-locals.el" cannot be used.
-;; If you use `and$' and `and>', you might want to add this to your
-;; configuration:
+;; If you use `when$', `and$' and `and>', you might want to add this
+;; to your configuration:
;; (with-eval-after-load 'cond-let
;; (font-lock-add-keywords 'emacs-lisp-mode