Permalink
Browse files

Stop using deprecated function set-process-filter-multibyte.

Instead, we set the process coding system to binary, which
accomplishes the same thing.
  • Loading branch information...
1 parent 4089d1c commit 6f033f25424768df826b2758e0cfdfa398362299 @ahyatt committed Jul 6, 2013
Showing with 2 additions and 6 deletions.
  1. +1 −3 README.org
  2. +1 −3 websocket.el
View
4 README.org
@@ -17,9 +17,7 @@ Each version that is released should be checked with this checklist:
- [ ] All ert test passing
- [ ] Functional test passing on emacs 23 and 24
-- [ ] websocket.el byte compiling cleanly, except for these exceptions:
- - =set-process-filter-multibyte= is obsolete, yet I cannot find any
- other way of ensuring my filter has multibyte disabled.
+- [ ] websocket.el byte compiling cleanly.
* Existing clients:
View
4 websocket.el
@@ -845,9 +845,7 @@ connection, which should be kept in order to pass to
(set-process-coding-system client 'unix 'unix)
(process-put client :websocket ws)
(set-process-filter client 'websocket-server-filter)
- ;; set-process-filter-multibyte is obsolete, but make-network-process's
- ;; :filter-multibyte arg does not seem to do anything.
- (set-process-filter-multibyte client nil)
+ (set-process-coding-system client 'binary)
(set-process-sentinel client
(lambda (process change)
(let ((websocket (process-get process :websocket)))

0 comments on commit 6f033f2

Please sign in to comment.