emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fileio.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c
Date: Tue, 17 Dec 2002 06:40:02 -0500

Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.467 emacs/src/fileio.c:1.468
*** emacs/src/fileio.c:1.467    Sat Dec  7 16:39:50 2002
--- emacs/src/fileio.c  Tue Dec 17 06:39:59 2002
***************
*** 4624,4630 ****
    if (auto_saving)
      val = Qnil;
    else if (!NILP (Vcoding_system_for_write))
!     val = Vcoding_system_for_write;
    else
      {
        /* If the variable `buffer-file-coding-system' is set locally,
--- 4624,4638 ----
    if (auto_saving)
      val = Qnil;
    else if (!NILP (Vcoding_system_for_write))
!     {
!       val = Vcoding_system_for_write;
!       if (coding_system_require_warning
!         && !NILP (Ffboundp (Vselect_safe_coding_system_function)))
!       /* Confirm that VAL can surely encode the current region.  */
!       val = call5 (Vselect_safe_coding_system_function,
!                    start, end, Fcons (Qt, Fcons (val, Qnil)),
!                    Qnil, filename);
!     }
    else
      {
        /* If the variable `buffer-file-coding-system' is set locally,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]