[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 4aa5533: Update allowable arguments for open-networ
From: |
Ken Brown |
Subject: |
[Emacs-diffs] master 4aa5533: Update allowable arguments for open-network-stream |
Date: |
Tue, 24 May 2016 15:05:41 +0000 (UTC) |
branch: master
commit 4aa55338ff3af1cd4e87802e02156e636d212241
Author: Ken Brown <address@hidden>
Commit: Ken Brown <address@hidden>
Update allowable arguments for open-network-stream
* src/coding.c (Ffind_operation_coding_system): Allow t as a
target for open-network-stream. (Bug #23540)
---
src/coding.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/coding.c b/src/coding.c
index 17cb77e..7d19956 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -9843,7 +9843,8 @@ usage: (find-operation-coding-system OPERATION
ARGUMENTS...) */)
if (!(STRINGP (target)
|| (EQ (operation, Qinsert_file_contents) && CONSP (target)
&& STRINGP (XCAR (target)) && BUFFERP (XCDR (target)))
- || (EQ (operation, Qopen_network_stream) && INTEGERP (target))))
+ || (EQ (operation, Qopen_network_stream)
+ && (INTEGERP (target) || EQ (target, Qt)))))
error ("Invalid argument %"pI"d of operation `%s'",
XFASTINT (target_idx) + 1, SDATA (SYMBOL_NAME (operation)));
if (CONSP (target))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 4aa5533: Update allowable arguments for open-network-stream,
Ken Brown <=