diff options
| author | Paul Eggert | 2015-05-28 00:44:32 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-05-28 00:45:00 -0700 |
| commit | 4643f6c21a88d27cfb8a3410494bfd7909a98462 (patch) | |
| tree | e63074a2e35341dc2625cce19e9513b5b3606e18 | |
| parent | 89ab85f2f499126f025c6780c6ac22458f593a27 (diff) | |
| download | emacs-4643f6c21a88d27cfb8a3410494bfd7909a98462.tar.gz emacs-4643f6c21a88d27cfb8a3410494bfd7909a98462.zip | |
A few more doc string fixes (Bug#20385)
| -rw-r--r-- | lisp/emacs-lisp/backquote.el | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/pcase.el | 4 |
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. | |||
| 99 | For example: | 99 | For example: |
| 100 | 100 | ||
| 101 | b => (ba bb bc) ; assume b has this value | 101 | b => (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 | ||
| 106 | Vectors work just like lists. Nested backquotes are permitted." | 106 | Vectors 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. | |||
| 133 | FUN is assumed to be pure, i.e. it can be dropped if its result is not used, | 133 | FUN is assumed to be pure, i.e. it can be dropped if its result is not used, |
| 134 | and two identical calls can be merged into one. | 134 | and two identical calls can be merged into one. |
| 135 | E.g. you can match pairs where the cdr is larger than the car with a pattern | 135 | E.g. you can match pairs where the cdr is larger than the car with a pattern |
| 136 | like `(,a . ,(pred (< a))) or, with more checks: | 136 | like \\=`(,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 | ||
| 139 | Additional patterns can be defined via `pcase-defmacro'. | 139 | Additional patterns can be defined via `pcase-defmacro'. |
| 140 | Currently, the following patterns are provided this way:" | 140 | Currently, the following patterns are provided this way:" |