summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-08-19 17:17:41 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-08-19 17:57:42 +0200
commit043ae1f53a29d69f2573356715861ec54d626b56 (patch)
tree4b443cafad4a398124931f745558861e2064bf2f /src
parentd0bb333efc0faf4c8ee78db5bd9c99819ad2053b (diff)
downloademacs-043ae1f53a29d69f2573356715861ec54d626b56.tar.gz
Delete two functions obsolete since Emacs 23
These were announced as removed in Emacs 28.1 NEWS, but apparently never actually deleted: only their obsoletion warning was removed. So the warnings were reintroduced in Emacs 28.2, and we now actually delete them here instead. * src/process.c (Fset_process_filter_multibyte) (Fprocess_filter_multibyte_p): Delete functions obsolete since Emacs 23. (syms_of_process): Delete corresponding defsubrs. * lisp/subr.el (process-filter-multibyte-p) (set-process-filter-multibyte): Delete obsoletion. * lisp/erc/erc-dcc.el (erc-dcc-server): Don't use obsolete functions.
Diffstat (limited to 'src')
-rw-r--r--src/process.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/process.c b/src/process.c
index 697249a461b..7a133cda00f 100644
--- a/src/process.c
+++ b/src/process.c
@@ -7773,46 +7773,6 @@ DEFUN ("process-coding-system",
XPROCESS (process)->encode_coding_system);
}
-DEFUN ("set-process-filter-multibyte", Fset_process_filter_multibyte,
- Sset_process_filter_multibyte, 2, 2, 0,
- doc: /* Set multibyteness of the strings given to PROCESS's filter.
-If FLAG is non-nil, the filter is given multibyte strings.
-If FLAG is nil, the filter is given unibyte strings. In this case,
-all character code conversion except for end-of-line conversion is
-suppressed. */)
- (Lisp_Object process, Lisp_Object flag)
-{
- CHECK_PROCESS (process);
-
- struct Lisp_Process *p = XPROCESS (process);
- if (NILP (flag))
- pset_decode_coding_system
- (p, raw_text_coding_system (p->decode_coding_system));
-
- /* If the sockets haven't been set up yet, the final setup part of
- this will be called asynchronously. */
- if (p->infd < 0 || p->outfd < 0)
- return Qnil;
-
- setup_process_coding_systems (process);
-
- return Qnil;
-}
-
-DEFUN ("process-filter-multibyte-p", Fprocess_filter_multibyte_p,
- Sprocess_filter_multibyte_p, 1, 1, 0,
- doc: /* Return t if a multibyte string is given to PROCESS's filter.*/)
- (Lisp_Object process)
-{
- CHECK_PROCESS (process);
- struct Lisp_Process *p = XPROCESS (process);
- if (p->infd < 0)
- return Qnil;
- eassert (p->infd < FD_SETSIZE);
- struct coding_system *coding = proc_decode_coding_system[p->infd];
- return (CODING_FOR_UNIBYTE (coding) ? Qnil : Qt);
-}
-
@@ -8808,8 +8768,6 @@ sentinel or a process filter function has an error. */);
defsubr (&Sinternal_default_process_filter);
defsubr (&Sset_process_coding_system);
defsubr (&Sprocess_coding_system);
- defsubr (&Sset_process_filter_multibyte);
- defsubr (&Sprocess_filter_multibyte_p);
{
Lisp_Object subfeatures = Qnil;