Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1df90f8f
Commit
1df90f8f
authored
May 04, 1995
by
Richard M. Stallman
Browse files
('\`): Use backslash for reading the backquote.
(backquote-backquote-symbol): Likewise. (backquote): Doc fix.
parent
b7cffe17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lisp/emacs-lisp/backquote.el
lisp/emacs-lisp/backquote.el
+6
-6
No files found.
lisp/emacs-lisp/backquote.el
View file @
1df90f8f
...
@@ -83,7 +83,7 @@ For example (backquote-list* 'a 'b 'c) => (a b . c)"
...
@@ -83,7 +83,7 @@ For example (backquote-list* 'a 'b 'c) => (a b . c)"
;; A few advertised variables that control which symbols are used
;; A few advertised variables that control which symbols are used
;; to represent the backquote, unquote, and splice operations.
;; to represent the backquote, unquote, and splice operations.
(
defvar
backquote-backquote-symbol
'`
(
defvar
backquote-backquote-symbol
'
\
`
"*Symbol used to represent a backquote or nested backquote (e.g. `)."
)
"*Symbol used to represent a backquote or nested backquote (e.g. `)."
)
(
defvar
backquote-unquote-symbol
',
(
defvar
backquote-unquote-symbol
',
...
@@ -101,10 +101,10 @@ places where expressions are evaluated and inserted or spliced in.
...
@@ -101,10 +101,10 @@ places where expressions are evaluated and inserted or spliced in.
For example:
For example:
b
=> (ba bb bc) ; assume b has this value
b => (ba bb bc) ; assume b has this value
\(`
(a b c)
)
=> (a b c) ; backquote acts like quote
`
(a b c) => (a b c) ; backquote acts like quote
\(`
(a (, b) c)
)
=> (a (ba bb bc) c) ; insert the value of b
`
(a (, b) c) => (a (ba bb bc) c) ; insert the value of b
\(`
(a (,@ b) c)
)
=> (a ba bb bc c) ; splice in the value of b
`
(a (,@ b) c) => (a ba bb bc c) ; splice in the value of b
Vectors work just like lists. Nested backquotes are permitted."
Vectors work just like lists. Nested backquotes are permitted."
(
cdr
(
backquote-process
arg
)))
(
cdr
(
backquote-process
arg
)))
...
@@ -112,7 +112,7 @@ Vectors work just like lists. Nested backquotes are permitted."
...
@@ -112,7 +112,7 @@ Vectors work just like lists. Nested backquotes are permitted."
;; GNU Emacs has no reader macros
;; GNU Emacs has no reader macros
;;;###autoload
;;;###autoload
(
defalias
'`
(
symbol-function
'backquote
))
(
defalias
'
\
`
(
symbol-function
'backquote
))
;; backquote-process returns a dotted-pair of a tag (0, 1, or 2) and
;; backquote-process returns a dotted-pair of a tag (0, 1, or 2) and
;; the backquote-processed structure. 0 => the structure is
;; the backquote-processed structure. 0 => the structure is
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment