X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=lisp%2Fcode-files.el;h=434695a74a344ced562c6bc89f5632637f6fe180;hp=accbc0d91fc4a6a6273ec6ee71c226248e2ddcca;hb=113b194be934327de99a168d809271db252c07c4;hpb=77dcef404dc78635f6ffa8f71a803d2bc7cc8921 diff --git a/lisp/code-files.el b/lisp/code-files.el index accbc0d..434695a 100644 --- a/lisp/code-files.el +++ b/lisp/code-files.el @@ -6,8 +6,6 @@ ;; This file is part of XEmacs. -;; This file is very similar to mule-files.el - ;; XEmacs is free software; you can redistribute it and/or modify it ;; under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your option) @@ -23,13 +21,18 @@ ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 02111-1307, USA. +;;; Synched up with: Not synched. + ;;; Commentary: -;;; Derived from mule.el in the original Mule but heavily modified -;;; by Ben Wing. +;; Derived from mule.el in the original Mule but heavily modified +;; by Ben Wing. ;; 1997/3/11 modified by MORIOKA Tomohiko to sync with Emacs 20 API. +;; This file was derived from the former mule-files.el which has been removed +;; as of XEmacs 21.2.15. + ;;; Code: (setq-default buffer-file-coding-system 'no-conversion) @@ -271,7 +274,7 @@ Return t if file exists." (if (or (<= (length filename) 0) (null (setq path (locate-file filename load-path - (and (not nosuffix) ".elc:.el:"))))) + (and (not nosuffix) '(".elc" ".el" "")))))) (and (null noerror) (signal 'file-error (list "Cannot open load file" filename))) ;; now use the internal load to actually load the file. @@ -555,4 +558,9 @@ See also `write-region-pre-hook' and `write-region-post-hook'." start end filename append visit lockname coding-system))) -;;; mule-files.el ends here +;;; The following was all that remained in mule-files.el, so I moved it +;;; here for neatness. -sb +(when (featurep 'mule) + (setq-default buffer-file-coding-system 'iso-2022-8)) + +;;; code-files.el ends here