]> git.eshelyaron.com Git - emacs.git/commitdiff
(server-process-filter): Quote with &, not \.
authorRichard M. Stallman <rms@gnu.org>
Mon, 2 Sep 1996 17:43:56 +0000 (17:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 2 Sep 1996 17:43:56 +0000 (17:43 +0000)
lisp/server.el

index dbadb63418ce250b55a83f998e52a4f19d38593d..f4d3b7cb2decca3b315722e45a81e2c1a92dee0b 100644 (file)
@@ -212,11 +212,11 @@ Prefix arg means just kill any existing server communications subprocess."
                      (setq pos 0)
                      ;; Undo the quoting that emacsclient does
                      ;; for certain special characters.
-                     (while (string-match "\\\\." arg pos)
+                     (while (string-match "&." arg pos)
                        (setq pos (1+ (match-beginning 0)))
                        (let ((nextchar (aref arg pos)))
-                         (cond ((= nextchar ?\\)
-                                (setq arg (replace-match "\\" t t arg)))
+                         (cond ((= nextchar ?&)
+                                (setq arg (replace-match "&" t t arg)))
                                ((= nextchar ?-)
                                 (setq arg (replace-match "-" t t arg)))
                                (t