aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/backquote.el6
-rw-r--r--lisp/emacs-lisp/pcase.el4
2 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/backquote.el b/lisp/emacs-lisp/backquote.el
index d5cdca2b1b5..dc61e156130 100644
--- a/lisp/emacs-lisp/backquote.el
+++ b/lisp/emacs-lisp/backquote.el
@@ -99,9 +99,9 @@ places where expressions are evaluated and inserted or spliced in.
99For example: 99For example:
100 100
101b => (ba bb bc) ; assume b has this value 101b => (ba bb bc) ; assume b has this value
102`(a b c) => (a b c) ; backquote acts like quote 102\\=`(a b c) => (a b c) ; backquote acts like quote
103`(a ,b c) => (a (ba bb bc) c) ; insert the value of b 103\\=`(a ,b c) => (a (ba bb bc) c) ; insert the value of b
104`(a ,@b c) => (a ba bb bc c) ; splice in the value of b 104\\=`(a ,@b c) => (a ba bb bc c) ; splice in the value of b
105 105
106Vectors work just like lists. Nested backquotes are permitted." 106Vectors work just like lists. Nested backquotes are permitted."
107 (cdr (backquote-process structure))) 107 (cdr (backquote-process structure)))
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el
index 8c4f4bcbc7d..ab82b7eaef3 100644
--- a/lisp/emacs-lisp/pcase.el
+++ b/lisp/emacs-lisp/pcase.el
@@ -133,8 +133,8 @@ FUN can refer to variables bound earlier in the pattern.
133FUN is assumed to be pure, i.e. it can be dropped if its result is not used, 133FUN is assumed to be pure, i.e. it can be dropped if its result is not used,
134and two identical calls can be merged into one. 134and two identical calls can be merged into one.
135E.g. you can match pairs where the cdr is larger than the car with a pattern 135E.g. you can match pairs where the cdr is larger than the car with a pattern
136like `(,a . ,(pred (< a))) or, with more checks: 136like \\=`(,a . ,(pred (< a))) or, with more checks:
137`(,(and a (pred numberp)) . ,(and (pred numberp) (pred (< a)))) 137\\=`(,(and a (pred numberp)) . ,(and (pred numberp) (pred (< a))))
138 138
139Additional patterns can be defined via `pcase-defmacro'. 139Additional patterns can be defined via `pcase-defmacro'.
140Currently, the following patterns are provided this way:" 140Currently, the following patterns are provided this way:"