diff options
| author | Richard M. Stallman | 1995-05-04 20:44:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-05-04 20:44:55 +0000 |
| commit | 1df90f8fe8f68c9c51bb76ec18da5358f6c12167 (patch) | |
| tree | 23b7aba72106a873e598737a64d62ecad33bbedb | |
| parent | b7cffe17fae78777f0c8978b26a107ac5ce336c8 (diff) | |
| download | emacs-1df90f8fe8f68c9c51bb76ec18da5358f6c12167.tar.gz emacs-1df90f8fe8f68c9c51bb76ec18da5358f6c12167.zip | |
('\`): Use backslash for reading the backquote.
(backquote-backquote-symbol): Likewise.
(backquote): Doc fix.
| -rw-r--r-- | lisp/emacs-lisp/backquote.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/backquote.el b/lisp/emacs-lisp/backquote.el index 0bc4b95d9ec..a285b1b3a42 100644 --- a/lisp/emacs-lisp/backquote.el +++ b/lisp/emacs-lisp/backquote.el | |||
| @@ -83,7 +83,7 @@ For example (backquote-list* 'a 'b 'c) => (a b . c)" | |||
| 83 | ;; A few advertised variables that control which symbols are used | 83 | ;; A few advertised variables that control which symbols are used |
| 84 | ;; to represent the backquote, unquote, and splice operations. | 84 | ;; to represent the backquote, unquote, and splice operations. |
| 85 | 85 | ||
| 86 | (defvar backquote-backquote-symbol '` | 86 | (defvar backquote-backquote-symbol '\` |
| 87 | "*Symbol used to represent a backquote or nested backquote (e.g. `).") | 87 | "*Symbol used to represent a backquote or nested backquote (e.g. `).") |
| 88 | 88 | ||
| 89 | (defvar backquote-unquote-symbol ', | 89 | (defvar backquote-unquote-symbol ', |
| @@ -101,10 +101,10 @@ places where expressions are evaluated and inserted or spliced in. | |||
| 101 | 101 | ||
| 102 | For example: | 102 | For example: |
| 103 | 103 | ||
| 104 | b => (ba bb bc) ; assume b has this value | 104 | b => (ba bb bc) ; assume b has this value |
| 105 | \(` (a b c)) => (a b c) ; backquote acts like quote | 105 | `(a b c) => (a b c) ; backquote acts like quote |
| 106 | \(` (a (, b) c)) => (a (ba bb bc) c) ; insert the value of b | 106 | `(a (, b) c) => (a (ba bb bc) c) ; insert the value of b |
| 107 | \(` (a (,@ b) c)) => (a ba bb bc c) ; splice in the value of b | 107 | `(a (,@ b) c) => (a ba bb bc c) ; splice in the value of b |
| 108 | 108 | ||
| 109 | Vectors work just like lists. Nested backquotes are permitted." | 109 | Vectors work just like lists. Nested backquotes are permitted." |
| 110 | (cdr (backquote-process arg))) | 110 | (cdr (backquote-process arg))) |
| @@ -112,7 +112,7 @@ Vectors work just like lists. Nested backquotes are permitted." | |||
| 112 | ;; GNU Emacs has no reader macros | 112 | ;; GNU Emacs has no reader macros |
| 113 | 113 | ||
| 114 | ;;;###autoload | 114 | ;;;###autoload |
| 115 | (defalias '` (symbol-function 'backquote)) | 115 | (defalias '\` (symbol-function 'backquote)) |
| 116 | 116 | ||
| 117 | ;; backquote-process returns a dotted-pair of a tag (0, 1, or 2) and | 117 | ;; backquote-process returns a dotted-pair of a tag (0, 1, or 2) and |
| 118 | ;; the backquote-processed structure. 0 => the structure is | 118 | ;; the backquote-processed structure. 0 => the structure is |