summaryrefslogtreecommitdiff
path: root/lisp/server.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-01-02 00:37:12 +0000
committerRichard M. Stallman <rms@gnu.org>1997-01-02 00:37:12 +0000
commit37ac5abbfe6ca9299acee7a8b15f02c04b7b8ac0 (patch)
tree0bec143e668ce73e5bc12ca3bfb17e43a131a34c /lisp/server.el
parent63b4dff909b8677b9be66c09e462d760c7439aca (diff)
downloademacs-37ac5abbfe6ca9299acee7a8b15f02c04b7b8ac0.tar.gz
(server-process-filter): Let-bind `pos'.
Diffstat (limited to 'lisp/server.el')
-rw-r--r--lisp/server.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/server.el b/lisp/server.el
index 4348e9a5134..78f10f422df 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -205,7 +205,8 @@ Prefix arg means just kill any existing server communications subprocess."
(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 @@ Prefix arg means just kill any existing server communications subprocess."
;; 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)