;; General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with XEmacs; see the file COPYING. If not, write to the
+;; along with XEmacs; see the file COPYING. If not, write to the
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
(defun coding-system-force-on-output (coding-system register)
"Return the 'force-on-output property of CODING-SYSTEM for the specified REGISTER."
- (unless (integerp register)
- (signal 'wrong-type-argument (list 'integerp register)))
+ (check-type register integer)
(coding-system-property
coding-system
(case register
;; so that the remaining Lisp files can contain extended characters.
;; (They will be in ISO-7 format)
-(set-coding-priority-list '(iso-8-2 iso-8-designate iso-8-1
- iso-7 iso-lock-shift no-conversion))
+(if (featurep 'utf-2000)
+ (set-coding-priority-list '(iso-8-2 iso-8-designate iso-8-1
+ iso-7 iso-lock-shift utf-8 no-conversion))
+ (set-coding-priority-list '(iso-8-2 iso-8-designate iso-8-1
+ iso-7 iso-lock-shift no-conversion)))
(set-coding-category-system 'iso-7 'iso-2022-7)
(set-coding-category-system 'iso-8-designate 'ctext)
(set-coding-category-system 'iso-lock-shift 'iso-2022-lock)
(set-coding-category-system 'no-conversion 'no-conversion)
+(setq-default buffer-file-coding-system 'iso-2022-8)
+
;;; mule-coding.el ends here