Function: set-process-filter-multibyte

set-process-filter-multibyte is a function defined in process.c.

This function is obsolete since 23.1.

Signature

(set-process-filter-multibyte PROCESS FLAG)

Documentation

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.

Probably introduced at or before Emacs version 22.1.

Source Code

// Defined in /usr/src/emacs/src/process.c
{
  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;
}