[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/backquote.el,v
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/backquote.el,v |
Date: |
Mon, 27 Aug 2007 04:00:36 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <miles> 07/08/27 04:00:20
Index: lisp/emacs-lisp/backquote.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/backquote.el,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- lisp/emacs-lisp/backquote.el 13 Aug 2007 13:41:26 -0000 1.41
+++ lisp/emacs-lisp/backquote.el 27 Aug 2007 04:00:16 -0000 1.42
@@ -85,10 +85,10 @@
(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 @@
(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))))