(replace-match-string-symbols): Handle dotted lists.
authorRichard M. Stallman <rms@gnu.org>
Mon, 24 Jul 2006 16:52:57 +0000 (16:52 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 24 Jul 2006 16:52:57 +0000 (16:52 +0000)
lisp/replace.el

index 2f8fe86..4275aef 100644 (file)
@@ -1283,8 +1283,8 @@ N     (match-string N)           (where N is a string of digits)
 #     replace-count
 
 Note that these symbols must be preceeded by a backslash in order to
-type them."
-  (while n
+type them using Lisp syntax."
+  (while (consp n)
     (cond
      ((consp (car n))
       (replace-match-string-symbols (car n))) ;Process sub-list