# HG changeset patch # User Richard M. Stallman # Date 852165432 0 # Node ID 4b8907e5a574d471c3473bb441876e831d0268c8 # Parent 0ba6599135d6cbccab219de6e79b028087367d22 (server-process-filter): Let-bind `pos'. diff -r 0ba6599135d6 -r 4b8907e5a574 lisp/server.el --- a/lisp/server.el Wed Jan 01 05:33:42 1997 +0000 +++ b/lisp/server.el Thu Jan 02 00:37:12 1997 +0000 @@ -205,7 +205,8 @@ (setq request (substring request (match-end 0))) (while (string-match "[^ ]+ " request) (let ((arg - (substring request (match-beginning 0) (1- (match-end 0))))) + (substring request (match-beginning 0) (1- (match-end 0)))) + (pos 0)) (setq request (substring request (match-end 0))) (if (string-match "\\`-nowait" arg) (setq nowait t) @@ -215,7 +216,6 @@ ;; ARG is a file name. ;; Collapse multiple slashes to single slashes. (setq arg (command-line-normalize-file-name arg)) - (setq pos 0) ;; Undo the quoting that emacsclient does ;; for certain special characters. (while (string-match "&." arg pos)