]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 2f8fe86860c9b8183ccbf2ec77283dd6cfab45d1..4275aef8d87c85c04930a0edc43c20407bbaedf5 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