aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2007-08-21 19:09:25 +0000
committerStefan Monnier2007-08-21 19:09:25 +0000
commit5d3440f4b66db7730f74633de13b0c66f1b4cde2 (patch)
tree761c560c72e384dce460e4c2694860f63624036c /lisp
parent97c4ef2a204f2be3db8de5c900046abe09d0582a (diff)
downloademacs-5d3440f4b66db7730f74633de13b0c66f1b4cde2.tar.gz
emacs-5d3440f4b66db7730f74633de13b0c66f1b4cde2.zip
(backquote-delay-process): Fix last change.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/backquote.el5
2 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8e39c452f2d..7f3982626fd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12007-08-21 Stefan Monnier <monnier@iro.umontreal.ca> 12007-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * emacs-lisp/backquote.el (backquote-delay-process): Fix last change.
4
3 * progmodes/ada-mode.el: Fix up comment style in header. 5 * progmodes/ada-mode.el: Fix up comment style in header.
4 (ada-check-emacs-version): Remove. 6 (ada-check-emacs-version): Remove.
5 (ada-mode): Set parse-sexp-* even if they don't exist: can't hurt. 7 (ada-mode): Set parse-sexp-* even if they don't exist: can't hurt.
diff --git a/lisp/emacs-lisp/backquote.el b/lisp/emacs-lisp/backquote.el
index 6daaf001433..8b966f51626 100644
--- a/lisp/emacs-lisp/backquote.el
+++ b/lisp/emacs-lisp/backquote.el
@@ -121,9 +121,8 @@ Vectors work just like lists. Nested backquotes are permitted."
121(defun backquote-delay-process (s level) 121(defun backquote-delay-process (s level)
122 "Process a (un|back|splice)quote inside a backquote. 122 "Process a (un|back|splice)quote inside a backquote.
123This simply recurses through the body." 123This simply recurses through the body."
124 (let ((exp (backquote-listify (list (backquote-process (nth 1 s) level) 124 (let ((exp (backquote-listify (list (cons 0 (list 'quote (car s))))
125 (cons 0 (list 'quote (car s)))) 125 (backquote-process (cdr s) level))))
126 '(0))))
127 (if (eq (car-safe exp) 'quote) 126 (if (eq (car-safe exp) 'quote)
128 (cons 0 (list 'quote s)) 127 (cons 0 (list 'quote s))
129 (cons 1 exp)))) 128 (cons 1 exp))))