diff options
| author | Stefan Monnier | 2009-03-10 13:33:23 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-03-10 13:33:23 +0000 |
| commit | bba79a9ce446856701d58cdeb26488b6a0b87864 (patch) | |
| tree | c4864ac4d5aa4b7ae0706910263ca0b100d3944b | |
| parent | 0462d01962732c9c447728c547128c77f9d63999 (diff) | |
| download | emacs-bba79a9ce446856701d58cdeb26488b6a0b87864.tar.gz emacs-bba79a9ce446856701d58cdeb26488b6a0b87864.zip | |
(doc-view-convert-current-doc): Fix last change.
| -rw-r--r-- | lisp/ChangeLog | 85 | ||||
| -rw-r--r-- | lisp/doc-view.el | 4 |
2 files changed, 45 insertions, 44 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 93f0d34abaa..ee521252b96 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2009-03-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * doc-view.el (doc-view-convert-current-doc): Fix last change. | ||
| 4 | |||
| 1 | 2009-03-10 Glenn Morris <rgm@gnu.org> | 5 | 2009-03-10 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * mail/sendmail.el (mail-archive-file-name, mail-default-headers): | 7 | * mail/sendmail.el (mail-archive-file-name, mail-default-headers): |
| @@ -8,8 +12,7 @@ | |||
| 8 | 12 | ||
| 9 | 2009-03-10 Alexander Becher <alexander.becher@capgemini-sdm.com> (tiny change) | 13 | 2009-03-10 Alexander Becher <alexander.becher@capgemini-sdm.com> (tiny change) |
| 10 | 14 | ||
| 11 | * vc-annotate.el (vc-annotate): Use widened line | 15 | * vc-annotate.el (vc-annotate): Use widened line number (Bug#2612). |
| 12 | number (Bug#2612). | ||
| 13 | 16 | ||
| 14 | 2009-03-09 Jason Rumney <jasonr@gnu.org> | 17 | 2009-03-09 Jason Rumney <jasonr@gnu.org> |
| 15 | 18 | ||
| @@ -74,9 +77,9 @@ | |||
| 74 | 77 | ||
| 75 | 2009-03-04 David Reitter <david.reitter@gmail.com> | 78 | 2009-03-04 David Reitter <david.reitter@gmail.com> |
| 76 | 79 | ||
| 77 | * menu-bar.el (clipboard-yank): avoid | 80 | * menu-bar.el (clipboard-yank): Avoid checking (x-selection-exists-p) |
| 78 | checking (x-selection-exists-p) if unbound in order to enable the | 81 | if unbound in order to enable the item. |
| 79 | item. For paste menu item, same, and check kill-ring. | 82 | For paste menu item, same, and check kill-ring. |
| 80 | 83 | ||
| 81 | 2009-03-04 Sam Steingold <sds@gnu.org> | 84 | 2009-03-04 Sam Steingold <sds@gnu.org> |
| 82 | 85 | ||
| @@ -144,18 +147,16 @@ | |||
| 144 | 147 | ||
| 145 | * files.el (basic-save-buffer-1): Set car part of | 148 | * files.el (basic-save-buffer-1): Set car part of |
| 146 | buffer-file-coding-system-explicit. | 149 | buffer-file-coding-system-explicit. |
| 147 | (revert-buffer): Check car part of | 150 | (revert-buffer): Check car part of buffer-file-coding-system-explicit. |
| 148 | buffer-file-coding-system-explicit. | ||
| 149 | 151 | ||
| 150 | * international/mule-cmds.el (select-safe-coding-system): If cdr | 152 | * international/mule-cmds.el (select-safe-coding-system): If cdr |
| 151 | part of buffer-file-coding-system-explicit is set, ignore | 153 | part of buffer-file-coding-system-explicit is set, ignore |
| 152 | default-buffer-file-coding-system and the most preferred coding | 154 | default-buffer-file-coding-system and the most preferred coding system. |
| 153 | system. | ||
| 154 | 155 | ||
| 155 | * international/mule.el (set-buffer-file-coding-system): Set cdr | 156 | * international/mule.el (set-buffer-file-coding-system): Set cdr |
| 156 | part of buffer-file-coding-system-explicit. | 157 | part of buffer-file-coding-system-explicit. |
| 157 | (after-insert-file-set-coding): Set | 158 | (after-insert-file-set-coding): |
| 158 | buffer-file-coding-system-explicit to a cons. | 159 | Set buffer-file-coding-system-explicit to a cons. |
| 159 | 160 | ||
| 160 | 2009-03-02 Glenn Morris <rgm@gnu.org> | 161 | 2009-03-02 Glenn Morris <rgm@gnu.org> |
| 161 | 162 | ||
| @@ -187,8 +188,8 @@ | |||
| 187 | 188 | ||
| 188 | 2009-02-28 Eli Zaretskii <eliz@gnu.org> | 189 | 2009-02-28 Eli Zaretskii <eliz@gnu.org> |
| 189 | 190 | ||
| 190 | * progmodes/grep.el (grep-process-setup) [windows-nt msdos]: Use | 191 | * progmodes/grep.el (grep-process-setup) [windows-nt msdos]: |
| 191 | "--color=always". | 192 | Use "--color=always". |
| 192 | 193 | ||
| 193 | 2009-02-28 Glenn Morris <rgm@gnu.org> | 194 | 2009-02-28 Glenn Morris <rgm@gnu.org> |
| 194 | 195 | ||
| @@ -226,8 +227,7 @@ | |||
| 226 | 227 | ||
| 227 | 2009-02-26 Michael Albinus <michael.albinus@gmx.de> | 228 | 2009-02-26 Michael Albinus <michael.albinus@gmx.de> |
| 228 | 229 | ||
| 229 | * net/tramp.el (tramp-remote-coding-commands): Add | 230 | * net/tramp.el (tramp-remote-coding-commands): Add "base64". (Bug#2463) |
| 230 | "base64". (Bug#2463) | ||
| 231 | 231 | ||
| 232 | 2009-02-26 Juanma Barranquero <lekktu@gmail.com> | 232 | 2009-02-26 Juanma Barranquero <lekktu@gmail.com> |
| 233 | 233 | ||
| @@ -430,8 +430,8 @@ | |||
| 430 | 430 | ||
| 431 | 2009-02-20 Era Eriksson <era@iki.fi> (tiny change) | 431 | 2009-02-20 Era Eriksson <era@iki.fi> (tiny change) |
| 432 | 432 | ||
| 433 | * textmodes/bibtex.el (bibtex-autokey-titleword-ignore): Fix | 433 | * textmodes/bibtex.el (bibtex-autokey-titleword-ignore): |
| 434 | regexp (Bug#2385). | 434 | Fix regexp (Bug#2385). |
| 435 | (bibtex-autokey-get-title): Observe case for | 435 | (bibtex-autokey-get-title): Observe case for |
| 436 | bibtex-autokey-titleword-ignore. | 436 | bibtex-autokey-titleword-ignore. |
| 437 | 437 | ||
| @@ -562,8 +562,8 @@ | |||
| 562 | 562 | ||
| 563 | 2009-02-17 Sam Steingold <sds@gnu.org> | 563 | 2009-02-17 Sam Steingold <sds@gnu.org> |
| 564 | 564 | ||
| 565 | * progmodes/compile.el (compilation-filter): Call | 565 | * progmodes/compile.el (compilation-filter): |
| 566 | `comint-carriage-motion', just like `comint-output-filter'. | 566 | Call `comint-carriage-motion', just like `comint-output-filter'. |
| 567 | 567 | ||
| 568 | 2009-02-17 Jason Rumney <jasonr@gnu.org> | 568 | 2009-02-17 Jason Rumney <jasonr@gnu.org> |
| 569 | 569 | ||
| @@ -701,13 +701,13 @@ | |||
| 701 | 701 | ||
| 702 | 2009-02-13 Kenichi Handa <handa@m17n.org> | 702 | 2009-02-13 Kenichi Handa <handa@m17n.org> |
| 703 | 703 | ||
| 704 | * international/titdic-cnv.el (tit-process-header): Use | 704 | * international/titdic-cnv.el (tit-process-header): |
| 705 | buffer-substring-no-properties instead of buffer-substring. | 705 | Use buffer-substring-no-properties instead of buffer-substring. |
| 706 | (tit-process-body): Likewise. | 706 | (tit-process-body): Likewise. |
| 707 | (tsang-quick-converter): Handle superfluous CR at eol. | 707 | (tsang-quick-converter): Handle superfluous CR at eol. |
| 708 | (py-converter): Use buffer-substring-no-properties instead of | 708 | (py-converter): Use buffer-substring-no-properties instead of |
| 709 | buffer-substring. Handle superfluous CR at eol. | 709 | buffer-substring. Handle superfluous CR at eol. |
| 710 | (ziranma-converter): Likewise | 710 | (ziranma-converter): Likewise. |
| 711 | (ctlau-converter): Likewise. | 711 | (ctlau-converter): Likewise. |
| 712 | (miscdic-convert): Read a file without eol conversion. (Bug#2307) | 712 | (miscdic-convert): Read a file without eol conversion. (Bug#2307) |
| 713 | 713 | ||
| @@ -916,8 +916,8 @@ | |||
| 916 | 2009-02-09 Tassilo Horn <tassilo@member.fsf.org> | 916 | 2009-02-09 Tassilo Horn <tassilo@member.fsf.org> |
| 917 | 917 | ||
| 918 | * doc-view.el (doc-view-scroll-up-or-next-page) | 918 | * doc-view.el (doc-view-scroll-up-or-next-page) |
| 919 | (doc-view-scroll-down-or-previous-page, doc-view-goto-page): Reset | 919 | (doc-view-scroll-down-or-previous-page, doc-view-goto-page): |
| 920 | the old hscroll value after switching pages. | 920 | Reset the old hscroll value after switching pages. |
| 921 | 921 | ||
| 922 | 2009-02-09 Glenn Morris <rgm@gnu.org> | 922 | 2009-02-09 Glenn Morris <rgm@gnu.org> |
| 923 | 923 | ||
| @@ -944,8 +944,8 @@ | |||
| 944 | * textmodes/artist.el (artist-system): Allow make-temp-file to use | 944 | * textmodes/artist.el (artist-system): Allow make-temp-file to use |
| 945 | temporary-file-directory. | 945 | temporary-file-directory. |
| 946 | 946 | ||
| 947 | * mail/rmailmm.el (rmail-mime-attachment-dirs-alist): Use | 947 | * mail/rmailmm.el (rmail-mime-attachment-dirs-alist): |
| 948 | temporary-file-directory. | 948 | Use temporary-file-directory. |
| 949 | 949 | ||
| 950 | 2009-02-07 Glenn Morris <rgm@gnu.org> | 950 | 2009-02-07 Glenn Morris <rgm@gnu.org> |
| 951 | 951 | ||
| @@ -968,9 +968,9 @@ | |||
| 968 | 968 | ||
| 969 | * mail/rmail.el (rmail-redecode-body): Don't encode/decode the | 969 | * mail/rmail.el (rmail-redecode-body): Don't encode/decode the |
| 970 | message; instead, just rewrite the X-Coding-System header with the | 970 | message; instead, just rewrite the X-Coding-System header with the |
| 971 | new encoding, and let rmail-show-message do the rest. Remove | 971 | new encoding, and let rmail-show-message do the rest. |
| 972 | unused argument RAW. Fix doc string to be consistent with the new | 972 | Remove unused argument RAW. Fix doc string to be consistent with the |
| 973 | implementation. | 973 | new implementation. |
| 974 | (rmail-show-message): Honor X-Coding-System header, if present, in | 974 | (rmail-show-message): Honor X-Coding-System header, if present, in |
| 975 | preference to Content-Type header. | 975 | preference to Content-Type header. |
| 976 | 976 | ||
| @@ -1047,8 +1047,8 @@ | |||
| 1047 | 1047 | ||
| 1048 | 2009-02-05 Kenichi Handa <handa@m17n.org> | 1048 | 2009-02-05 Kenichi Handa <handa@m17n.org> |
| 1049 | 1049 | ||
| 1050 | * international/fontset.el (script-representative-chars): Remove | 1050 | * international/fontset.el (script-representative-chars): |
| 1051 | mathematical. | 1051 | Remove mathematical. |
| 1052 | (setup-default-fontset): Add entries for each subgroup of | 1052 | (setup-default-fontset): Add entries for each subgroup of |
| 1053 | mathematical script. | 1053 | mathematical script. |
| 1054 | 1054 | ||
| @@ -1121,8 +1121,8 @@ | |||
| 1121 | 1121 | ||
| 1122 | 2009-02-04 Kenichi Handa <handa@m17n.org> | 1122 | 2009-02-04 Kenichi Handa <handa@m17n.org> |
| 1123 | 1123 | ||
| 1124 | * international/mule-cmds.el (select-safe-coding-system): Use | 1124 | * international/mule-cmds.el (select-safe-coding-system): |
| 1125 | buffer-chars-modified-tick instead of buffer-modified-tick. | 1125 | Use buffer-chars-modified-tick instead of buffer-modified-tick. |
| 1126 | 1126 | ||
| 1127 | * descr-text.el (describe-char): Check font-object by fontp. | 1127 | * descr-text.el (describe-char): Check font-object by fontp. |
| 1128 | 1128 | ||
| @@ -1193,7 +1193,7 @@ | |||
| 1193 | 1193 | ||
| 1194 | Sync with Tramp 2.1.15. | 1194 | Sync with Tramp 2.1.15. |
| 1195 | 1195 | ||
| 1196 | * net/tramp.el (tramp-read-passwd): Cached passwords shall still be | 1196 | * net/tramp.el (tramp-read-passwd): Cache passwords shall still be |
| 1197 | used. | 1197 | used. |
| 1198 | 1198 | ||
| 1199 | * net/tramp-cache.el (top): Autoload `tramp-run-real-handler'. | 1199 | * net/tramp-cache.el (top): Autoload `tramp-run-real-handler'. |
| @@ -1265,8 +1265,7 @@ | |||
| 1265 | 1265 | ||
| 1266 | * mail/unrmail.el (unrmail): Set coding-system of the old Rmail | 1266 | * mail/unrmail.el (unrmail): Set coding-system of the old Rmail |
| 1267 | file to `raw-text-unix'. Bind coding-system-for-write when | 1267 | file to `raw-text-unix'. Bind coding-system-for-write when |
| 1268 | writing out the converted message, and make sure it uses Unix | 1268 | writing out the converted message, and make sure it uses Unix EOLs. |
| 1269 | EOLs. | ||
| 1270 | 1269 | ||
| 1271 | * mail/rmail.el (rmail-convert-babyl-to-mbox): Set Rmail's buffer | 1270 | * mail/rmail.el (rmail-convert-babyl-to-mbox): Set Rmail's buffer |
| 1272 | encoding to `raw-text-unix'. | 1271 | encoding to `raw-text-unix'. |
| @@ -1314,8 +1313,8 @@ | |||
| 1314 | * mail/unrmail.el (unrmail): Fix conversion of BABYL attributes | 1313 | * mail/unrmail.el (unrmail): Fix conversion of BABYL attributes |
| 1315 | into Rmail-mbox attributes. | 1314 | into Rmail-mbox attributes. |
| 1316 | 1315 | ||
| 1317 | * mail/rmail.el (rmail-convert-babyl-to-mbox): Bind | 1316 | * mail/rmail.el (rmail-convert-babyl-to-mbox): |
| 1318 | coding-system-for-read to `raw-text', and use insert-file-contents | 1317 | Bind coding-system-for-read to `raw-text', and use insert-file-contents |
| 1319 | instead of insert-file-contents-literally. Fixes bug #2019. | 1318 | instead of insert-file-contents-literally. Fixes bug #2019. |
| 1320 | (rmail-resent-attr-index): Fix index value. | 1319 | (rmail-resent-attr-index): Fix index value. |
| 1321 | 1320 | ||
| @@ -1346,8 +1345,8 @@ | |||
| 1346 | 1345 | ||
| 1347 | 2009-01-29 Michael Albinus <michael.albinus@gmx.de> | 1346 | 2009-01-29 Michael Albinus <michael.albinus@gmx.de> |
| 1348 | 1347 | ||
| 1349 | * net/tramp.el (tramp-process-actions, tramp-read-passwd): Allow | 1348 | * net/tramp.el (tramp-process-actions, tramp-read-passwd): |
| 1350 | correction of passwords. | 1349 | Allow correction of passwords. |
| 1351 | 1350 | ||
| 1352 | 2009-01-29 Chong Yidong <cyd@stupidchicken.com> | 1351 | 2009-01-29 Chong Yidong <cyd@stupidchicken.com> |
| 1353 | 1352 | ||
| @@ -1435,9 +1434,9 @@ | |||
| 1435 | Prevent insertion of a new entry inside of an existing entry. | 1434 | Prevent insertion of a new entry inside of an existing entry. |
| 1436 | Minor code cleanup. (Bug#2084) | 1435 | Minor code cleanup. (Bug#2084) |
| 1437 | (todo-add-category): Change the interactive spec. Signal an error | 1436 | (todo-add-category): Change the interactive spec. Signal an error |
| 1438 | if the Todo file is non-empty but contains no category. Reject | 1437 | if the Todo file is non-empty but contains no category. |
| 1439 | category names that could induce bugs and confusion. Call | 1438 | Reject category names that could induce bugs and confusion. |
| 1440 | todo-mode if the Todo file is new and unsaved. Simplify handling | 1439 | Call todo-mode if the Todo file is new and unsaved. Simplify handling |
| 1441 | of local variables cookie. Properly display the newly added | 1440 | of local variables cookie. Properly display the newly added |
| 1442 | category in Todo mode. | 1441 | category in Todo mode. |
| 1443 | (todo-show): Call todo-initial-setup only if there is neither a | 1442 | (todo-show): Call todo-initial-setup only if there is neither a |
diff --git a/lisp/doc-view.el b/lisp/doc-view.el index bfdc40d50b0..f4847e45f7c 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el | |||
| @@ -730,7 +730,9 @@ Those files are saved in the directory given by the function | |||
| 730 | (let ((res doc-view-resolution)) | 730 | (let ((res doc-view-resolution)) |
| 731 | (with-temp-buffer | 731 | (with-temp-buffer |
| 732 | (princ res (current-buffer)) | 732 | (princ res (current-buffer)) |
| 733 | (write-file res-file))) | 733 | ;; Don't use write-file, so as to avoid prompts for `require-newline', |
| 734 | ;; or for pre-existing buffers with the same name, ... | ||
| 735 | (write-region nil nil res-file nil 'silently))) | ||
| 734 | (case doc-view-doc-type | 736 | (case doc-view-doc-type |
| 735 | (dvi | 737 | (dvi |
| 736 | ;; DVI files have to be converted to PDF before Ghostscript can process | 738 | ;; DVI files have to be converted to PDF before Ghostscript can process |