From 538f3845c2fccda24f0929cb954163a26ba6a3ae Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 31 Jan 2013 08:53:37 -0800 Subject: [PATCH] Simplify part of previous Fwrite_region change --- src/fileio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fileio.c b/src/fileio.c index ac0ce202a02..cd4bd4fa86e 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4881,10 +4881,9 @@ This calls `write-region-annotate-functions' at the start, and We used to make this choice before calling build_annotations, but that leads to problems when a write-annotate-function takes care of unsavable chars (as was the case with X-Symbol). */ - Vlast_coding_system_used = NILP (Vcoding_system_for_write) ? + Vlast_coding_system_used = Fchoose_write_coding_system (start, end, filename, - append, visit, lockname) : - Vcoding_system_for_write; + append, visit, lockname); setup_coding_system (Vlast_coding_system_used, &coding); -- 2.39.5