branch: elpa/cond-let
commit e08a9ccf29e28aae43988458789dea04a562ccd1
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
Mention when$ in documentation
---
README.org | 2 +-
cond-let.el | 8 +++++---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/README.org b/README.org
index abb1d79f9a4..68fd762f796 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 b67c27ccbb4..57886b17583 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