summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/backquote.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2007-08-27 04:00:19 +0000
committerMiles Bader <miles@gnu.org>2007-08-27 04:00:19 +0000
commit596a489eda3ea091dc6f9d9d5ad10daacf2b7923 (patch)
tree16f65d4b4ee461bfd541affcff9ff7d0faf20cb0 /lisp/emacs-lisp/backquote.el
parent21320d2f85b5f73e8b8e998cb6f39dd024403628 (diff)
parent258c520b708ada337d36f55e36eedb9fd01a8744 (diff)
downloademacs-596a489eda3ea091dc6f9d9d5ad10daacf2b7923.tar.gz
Merge from emacs--rel--22
Patches applied: * emacs--rel--22 (patch 97-100) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 246-247) - Update from CVS Revision: emacs@sv.gnu.org/emacs--devo--0--patch-860
Diffstat (limited to 'lisp/emacs-lisp/backquote.el')
-rw-r--r--lisp/emacs-lisp/backquote.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/backquote.el b/lisp/emacs-lisp/backquote.el
index 6daaf001433..a2a929d9601 100644
--- a/lisp/emacs-lisp/backquote.el
+++ b/lisp/emacs-lisp/backquote.el
@@ -85,10 +85,10 @@ For example (backquote-list* 'a 'b 'c) => (a b . c)"
(defconst backquote-backquote-symbol '\`
"Symbol used to represent a backquote or nested backquote.")
-(defconst backquote-unquote-symbol ',
+(defconst backquote-unquote-symbol '\,
"Symbol used to represent an unquote inside a backquote.")
-(defconst backquote-splice-symbol ',@
+(defconst backquote-splice-symbol '\,@
"Symbol used to represent a splice inside a backquote.")
;;;###autoload
@@ -121,9 +121,8 @@ Vectors work just like lists. Nested backquotes are permitted."
(defun backquote-delay-process (s level)
"Process a (un|back|splice)quote inside a backquote.
This simply recurses through the body."
- (let ((exp (backquote-listify (list (backquote-process (nth 1 s) level)
- (cons 0 (list 'quote (car s))))
- '(0))))
+ (let ((exp (backquote-listify (list (cons 0 (list 'quote (car s))))
+ (backquote-process (cdr s) level))))
(if (eq (car-safe exp) 'quote)
(cons 0 (list 'quote s))
(cons 1 exp))))