Function: read-non-nil-coding-system

read-non-nil-coding-system is a function defined in coding.c.

Signature

(read-non-nil-coding-system PROMPT)

Documentation

Read a coding system from the minibuffer, prompting with string PROMPT.

Return the symbol of the coding-system.

View in manual

Source Code

// Defined in /usr/src/emacs/src/coding.c
{
  Lisp_Object val;
  do
    {
      val = Fcompleting_read (prompt, Vcoding_system_alist, Qnil,
			      Qt, Qnil, Qcoding_system_history, Qnil, Qnil);
    }
  while (SCHARS (val) == 0);
  return (Fintern (val, Qnil));
}