diff options
| author | Stefan Monnier | 2018-01-25 13:35:13 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2018-01-25 13:35:37 -0500 |
| commit | 9107cf30c0c895bc4ea42810a22feee4af991157 (patch) | |
| tree | d6574e36348178cfadc1fb5d09ca7bebc250f088 /src | |
| parent | f44b50ffc957abb0fcda9b93f1bb7e2c8e9b3b0e (diff) | |
| download | emacs-9107cf30c0c895bc4ea42810a22feee4af991157.tar.gz emacs-9107cf30c0c895bc4ea42810a22feee4af991157.zip | |
Replace (default-value 'enable-multibyte-characters) with t
Since Emacs-24, (default-value 'enable-multibyte-characters) can't be
changed any more, so we can remove all code which checks this value.
* lisp/x-dnd.el (x-dnd-handle-file-name):
* lisp/w32-fns.el (w32-set-default-process-coding-system):
* lisp/textmodes/ispell.el (ispell-send-string):
* lisp/term/internal.el (dos-codepage-setup):
* lisp/tar-mode.el (tar-header-block-tokenize, tar--extract):
* lisp/startup.el (command-line):
* lisp/server.el (server-process-filter):
* lisp/net/browse-url.el (browse-url-file-url):
* lisp/menu-bar.el (menu-bar-options-menu, menu-bar-describe-menu):
* lisp/mail/sendmail.el (mail-setup):
* lisp/mail/rmail.el (rmail-mode, rmail-get-new-mail):
* lisp/mail/rfc2047.el (rfc2047-encode-message-header):
* lisp/mail/emacsbug.el (report-emacs-bug):
* lisp/international/mule-diag.el (mule-diag):
* lisp/files.el (find-file-noselect-1):
* lisp/dos-fns.el (dos-set-default-process-coding-system):
* lisp/arc-mode.el (archive-mode):
* lisp/international/mule-cmds.el (mule-menu-keymap)
(set-default-coding-systems, set-language-info)
(set-language-environment, standard-display-european-internal)
(set-locale-environment): Simplify code.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c index e6465e2347e..daa0dc68ae6 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1248,10 +1248,7 @@ passed to the filter. | |||
| 1248 | The filter gets two arguments: the process and the string of output. | 1248 | The filter gets two arguments: the process and the string of output. |
| 1249 | The string argument is normally a multibyte string, except: | 1249 | The string argument is normally a multibyte string, except: |
| 1250 | - if the process's input coding system is no-conversion or raw-text, | 1250 | - if the process's input coding system is no-conversion or raw-text, |
| 1251 | it is a unibyte string (the non-converted input), or else | 1251 | it is a unibyte string (the non-converted input). */) |
| 1252 | - if `default-enable-multibyte-characters' is nil, it is a unibyte | ||
| 1253 | string (the result of converting the decoded input multibyte | ||
| 1254 | string to unibyte with `string-make-unibyte'). */) | ||
| 1255 | (Lisp_Object process, Lisp_Object filter) | 1252 | (Lisp_Object process, Lisp_Object filter) |
| 1256 | { | 1253 | { |
| 1257 | CHECK_PROCESS (process); | 1254 | CHECK_PROCESS (process); |
| @@ -3761,8 +3758,7 @@ The stopped state is cleared by `continue-process' and set by | |||
| 3761 | 3758 | ||
| 3762 | :filter-multibyte BOOL -- If BOOL is non-nil, strings given to the | 3759 | :filter-multibyte BOOL -- If BOOL is non-nil, strings given to the |
| 3763 | process filter are multibyte, otherwise they are unibyte. | 3760 | process filter are multibyte, otherwise they are unibyte. |
| 3764 | If this keyword is not specified, the strings are multibyte if | 3761 | If this keyword is not specified, the strings are multibyte. |
| 3765 | the default value of `enable-multibyte-characters' is non-nil. | ||
| 3766 | 3762 | ||
| 3767 | :sentinel SENTINEL -- Install SENTINEL as the process sentinel. | 3763 | :sentinel SENTINEL -- Install SENTINEL as the process sentinel. |
| 3768 | 3764 | ||