diff options
| author | Glenn Morris | 2013-01-31 08:53:37 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-01-31 08:53:37 -0800 |
| commit | 538f3845c2fccda24f0929cb954163a26ba6a3ae (patch) | |
| tree | e310af4675d515114fef16579afc5ee7ef288c20 /src | |
| parent | 61642d9a2705c8d740250a6069a7fc2cd2f96cda (diff) | |
| download | emacs-538f3845c2fccda24f0929cb954163a26ba6a3ae.tar.gz emacs-538f3845c2fccda24f0929cb954163a26ba6a3ae.zip | |
Simplify part of previous Fwrite_region change
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 5 |
1 files 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 | |||
| 4881 | We used to make this choice before calling build_annotations, but that | 4881 | We used to make this choice before calling build_annotations, but that |
| 4882 | leads to problems when a write-annotate-function takes care of | 4882 | leads to problems when a write-annotate-function takes care of |
| 4883 | unsavable chars (as was the case with X-Symbol). */ | 4883 | unsavable chars (as was the case with X-Symbol). */ |
| 4884 | Vlast_coding_system_used = NILP (Vcoding_system_for_write) ? | 4884 | Vlast_coding_system_used = |
| 4885 | Fchoose_write_coding_system (start, end, filename, | 4885 | Fchoose_write_coding_system (start, end, filename, |
| 4886 | append, visit, lockname) : | 4886 | append, visit, lockname); |
| 4887 | Vcoding_system_for_write; | ||
| 4888 | 4887 | ||
| 4889 | setup_coding_system (Vlast_coding_system_used, &coding); | 4888 | setup_coding_system (Vlast_coding_system_used, &coding); |
| 4890 | 4889 | ||