comparison src/coding.c @ 88845:64b8f6168269

(Fset_coding_system_priority): Allow null arg list.
author Dave Love <fx@gnu.org>
date Thu, 11 Jul 2002 23:15:52 +0000
parents 75c78754826d
children 13a375bc220d
comparison
equal deleted inserted replaced
88844:1aa1ab8cd2fa 88845:64b8f6168269
6845 6845
6846 Optional third arg NOCOPY non-nil means it is OK to return STRING itself 6846 Optional third arg NOCOPY non-nil means it is OK to return STRING itself
6847 if the decoding operation is trivial. 6847 if the decoding operation is trivial.
6848 6848
6849 Optional fourth arg BUFFER non-nil meant that the decoded text is 6849 Optional fourth arg BUFFER non-nil meant that the decoded text is
6850 inserted in BUFFER instead of returned as a astring. In this case, 6850 inserted in BUFFER instead of returned as a string. In this case,
6851 the return value is BUFFER. 6851 the return value is BUFFER.
6852 6852
6853 This function sets `last-coding-system-used' to the precise coding system 6853 This function sets `last-coding-system-used' to the precise coding system
6854 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is 6854 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is
6855 not fully specified. */) 6855 not fully specified. */)
6866 6866
6867 Optional third arg NOCOPY non-nil means it is OK to return STRING 6867 Optional third arg NOCOPY non-nil means it is OK to return STRING
6868 itself if the encoding operation is trivial. 6868 itself if the encoding operation is trivial.
6869 6869
6870 Optional fourth arg BUFFER non-nil meant that the encoded text is 6870 Optional fourth arg BUFFER non-nil meant that the encoded text is
6871 inserted in BUFFER instead of returned as a astring. In this case, 6871 inserted in BUFFER instead of returned as a string. In this case,
6872 the return value is BUFFER. 6872 the return value is BUFFER.
6873 6873
6874 This function sets `last-coding-system-used' to the precise coding system 6874 This function sets `last-coding-system-used' to the precise coding system
6875 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is 6875 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is
6876 not fully specified.) */) 6876 not fully specified.) */)
7190 } 7190 }
7191 return Qnil; 7191 return Qnil;
7192 } 7192 }
7193 7193
7194 DEFUN ("set-coding-system-priority", Fset_coding_system_priority, 7194 DEFUN ("set-coding-system-priority", Fset_coding_system_priority,
7195 Sset_coding_system_priority, 1, MANY, 0, 7195 Sset_coding_system_priority, 0, MANY, 0,
7196 doc: /* Assign higher priority to the coding systems given as arguments. 7196 doc: /* Assign higher priority to the coding systems given as arguments.
7197 usage: (set-coding-system-priority CODING-SYSTEM ...) */) 7197 usage: (set-coding-system-priority CODING-SYSTEM ...) */)
7198 (nargs, args) 7198 (nargs, args)
7199 int nargs; 7199 int nargs;
7200 Lisp_Object *args; 7200 Lisp_Object *args;