[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp/international mule.el
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] emacs/lisp/international mule.el |
Date: |
Wed, 18 Mar 2009 07:24:53 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Kenichi Handa <handa> 09/03/18 07:24:53
Modified files:
lisp/international: mule.el
Log message:
(after-insert-file-set-coding): Set
buffer-file-coding-system directly without calling
set-buffer-file-coding-system.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/international/mule.el?cvsroot=emacs&r1=1.282&r2=1.283
Patches:
Index: mule.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/international/mule.el,v
retrieving revision 1.282
retrieving revision 1.283
diff -u -b -r1.282 -r1.283
--- mule.el 3 Mar 2009 01:56:14 -0000 1.282
+++ mule.el 18 Mar 2009 07:24:52 -0000 1.283
@@ -1868,12 +1868,8 @@
(if last-coding-system-used
(let ((coding-system
(find-new-buffer-file-coding-system last-coding-system-used)))
- (when coding-system
- ;; Tell set-buffer-file-coding-system not to mark the file
- ;; as modified; we just read it, and it's supposed to be unmodified.
- ;; Marking it modified would try to lock it, which would
- ;; check the modtime, and we don't want to do that again now.
- (set-buffer-file-coding-system coding-system t t))))
+ (if coding-system
+ (setq buffer-file-coding-system coding-system))))
inserted)
;; The coding-spec and eol-type of coding-system returned is decided