[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8245e5b 11/23: Remove XEmacs-specific code dealing
From: |
Reuben Thomas |
Subject: |
[Emacs-diffs] master 8245e5b 11/23: Remove XEmacs-specific code dealing with enable-multibyte-characters |
Date: |
Tue, 13 Dec 2016 19:44:36 +0000 (UTC) |
branch: master
commit 8245e5b9b00b4a839aa201d7883d5e55e8f66879
Author: Reuben Thomas <address@hidden>
Commit: Reuben Thomas <address@hidden>
Remove XEmacs-specific code dealing with enable-multibyte-characters
* lisp/textmodes/ispell.el (ispell-decode-string):
(ispell-init-process): Remove XEmacs-specific guard.
---
lisp/textmodes/ispell.el | 19 +++----------------
1 file changed, 3 insertions(+), 16 deletions(-)
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 6a28db6..f0bb569 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1451,17 +1451,8 @@ used as key in `ispell-local-dictionary-alist' and
`ispell-dictionary-alist'.")
This is passed to the Ispell process using the `-p' switch.")
(defun ispell-decode-string (str)
- "Decodes multibyte character strings.
-Protects against bogus binding of `enable-multibyte-characters' in XEmacs."
- ;; FIXME: enable-multibyte-characters is read-only, so bogus bindings are
- ;; really nasty (they signal an error in Emacs): Who does that? --Stef
- (if (and (or (featurep 'xemacs)
- (and (boundp 'enable-multibyte-characters)
- enable-multibyte-characters))
- (fboundp 'decode-coding-string)
- (ispell-get-coding-system))
- (decode-coding-string str (ispell-get-coding-system))
- str))
+ "Decodes multibyte character strings."
+ (decode-coding-string str (ispell-get-coding-system)))
;; Return a string decoded from Nth element of the current dictionary.
(defun ispell-get-decoded-string (n)
@@ -2871,11 +2862,7 @@ Keeps argument list for future Ispell invocations for no
async support."
(if ispell-async-processp
(set-process-filter ispell-process 'ispell-filter))
- ;; Protect against XEmacs bogus binding of `enable-multibyte-characters'.
- (if (and (or (featurep 'xemacs)
- (and (boundp 'enable-multibyte-characters)
- enable-multibyte-characters))
- (fboundp 'set-process-coding-system)
+ (if (and enable-multibyte-characters
;; Evidently, some people use the synchronous mode even
;; when async subprocesses are supported, in which case
;; set-process-coding-system is bound, but
- [Emacs-diffs] master updated (aacb20c -> 9e6618b), Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 3ac94b9 06/23: Remove some XEmacs-specific code from ispell.el, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 8edf0eb 02/23: Assume we have version<= for checking ispell version, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 854ed8a 07/23: Assume Emacs supports [:alpha:] in regexps, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master e1aa788 18/23: Remove boundp test for always-bound symbol, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 6e88249 12/23: Remove XEmacs-specific horizontal scrollbar handling in ispell.el, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 8315d50 15/23: Remove support for old versions of supercite and GNUS from ispell.el, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 51d011d 04/23: Remove tests for built-in functions, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 8af9cb2 19/23: Remove meaningless defconst ispell-version, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 3affed0 16/23: Remove unused constant, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 8245e5b 11/23: Remove XEmacs-specific code dealing with enable-multibyte-characters,
Reuben Thomas <=
- [Emacs-diffs] master ff5dedd 10/23: Remove XEmacs-specific code from ispell.el, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 97f327d 22/23: Minor docstring and comment fixes to ispell.el, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master f25c8b3 01/23: Remove ispell.el pre-GNU Emacs comments, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master c89dc9d 08/23: Remove XEmacs and old Emacs highlighting code, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 6b5ac58 20/23: Remove XEmacs-specific ispell-with-no-warnings, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master b989c41 14/23: Remove remaining mentions of XEmacs from ispell.el, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master db6e1f8 17/23: Remove support for ispell < 3.1.12, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 94834bd 21/23: Remove unused variable, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 028249e 05/23: Generalise over-specific documentation, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master ada717e 09/23: Remove some commented-out code, Reuben Thomas, 2016/12/13