mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* mh-e/mh-comp.el (mh-send-letter):
* mail/sendmail.el (mail-recover-1): * international/mule-diag.el (describe-current-coding-system-briefly) (describe-current-coding-system): * international/mule-cmds.el (select-safe-coding-system) (select-message-coding-system) (set-language-environment-coding-systems, set-locale-environment): * hexl.el (hexl-insert-multibyte-char): * dos-w32.el (find-buffer-file-type-coding-system): * simple.el (what-cursor-position): Replace uses of default-buffer-file-coding-system with (default-value 'buffer-file-coding-system).
This commit is contained in:
parent
de70529f66
commit
b56a5ae0fe
9 changed files with 61 additions and 41 deletions
|
|
@ -102,7 +102,7 @@ and whether the file exists:
|
|||
If the match is nil (for dos-text): `undecided-dos'
|
||||
Otherwise:
|
||||
If the file exists: `undecided'
|
||||
If the file does not exist: default-buffer-file-coding-system
|
||||
If the file does not exist default value of `buffer-file-coding-system'
|
||||
|
||||
Note that the CAR of arguments to `insert-file-contents' operation could
|
||||
be a cons cell of the form \(FILENAME . BUFFER\), where BUFFER is a buffer
|
||||
|
|
@ -169,8 +169,8 @@ set to the appropriate coding system, and the value of
|
|||
(text '(undecided-dos . undecided-dos))
|
||||
(undecided-unix '(undecided-unix . undecided-unix))
|
||||
(undecided '(undecided . undecided))
|
||||
(t (cons default-buffer-file-coding-system
|
||||
default-buffer-file-coding-system))))
|
||||
(t (cons (default-value 'buffer-file-coding-system)
|
||||
(default-value 'buffer-file-coding-system)))))
|
||||
((eq op 'write-region)
|
||||
(if buffer-file-coding-system
|
||||
(cons buffer-file-coding-system
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue