[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 6b5ac58 20/23: Remove XEmacs-specific ispell-with-n
From: |
Reuben Thomas |
Subject: |
[Emacs-diffs] master 6b5ac58 20/23: Remove XEmacs-specific ispell-with-no-warnings |
Date: |
Tue, 13 Dec 2016 19:44:37 +0000 (UTC) |
branch: master
commit 6b5ac5837a1d519bc24a69d58343213fa149fc10
Author: Reuben Thomas <address@hidden>
Commit: Reuben Thomas <address@hidden>
Remove XEmacs-specific ispell-with-no-warnings
* lisp/textmodes/ispell.el (ispell-with-no-warnings): Remove this
defmacro, needed only for XEmacs.
(ispell-command-loop, ispell-message): Use with-no-warnings directly.
---
lisp/textmodes/ispell.el | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 398e83e..c55d316 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -118,10 +118,6 @@
;; Recursive edits (?C-r or ?R) inside a keyboard text replacement check (?r)
;; can cause misalignment errors.
-;;; XEmacs21 does not have `with-no-warnings'. Taken from org mode.
-(defmacro ispell-with-no-warnings (&rest body)
- (cons (if (fboundp 'with-no-warnings) 'with-no-warnings 'progn) body))
-
;;; Code:
(eval-when-compile (require 'cl-lib))
@@ -2077,7 +2073,7 @@ Global `ispell-quit' set to start location to continue
spell session."
" -- dict: " (or ispell-current-dictionary "default")
" -- prog: " (file-name-nondirectory ispell-program-name)))
;; No need for horizontal scrollbar in choices window
- (ispell-with-no-warnings
+ (with-no-warnings
(setq horizontal-scroll-bar nil))
(erase-buffer)
(if guess
@@ -3849,18 +3845,18 @@ You can bind this to the key C-c i in GNUS or mail by
adding to
(cite-regexp ;Prefix of quoted text
(cond
((functionp 'sc-cite-regexp) ; supercite >= 3.0
- (ispell-with-no-warnings
+ (with-no-warnings
(concat "\\(" (sc-cite-regexp) "\\)" "\\|"
(ispell-non-empty-string sc-reference-tag-string))))
((equal major-mode 'message-mode) ; GNUS >= 5
(concat "In article <" "\\|"
"[^,;&+=\n]+ <[^,;&+=]+> writes:" "\\|"
- (ispell-with-no-warnings message-cite-prefix-regexp)
+ (with-no-warnings message-cite-prefix-regexp)
"\\|"
default-prefix))
((equal major-mode 'mh-letter-mode) ; mh mail message
(concat "[^,;&+=\n]+ writes:" "\\|"
- (ispell-with-no-warnings
+ (with-no-warnings
(ispell-non-empty-string mh-ins-buf-prefix))))
((not internal-messagep) ; Assume nn sent us this message.
(concat "In [a-zA-Z.]+ you write:" "\\|"
- [Emacs-diffs] master 6e88249 12/23: Remove XEmacs-specific horizontal scrollbar handling in ispell.el, (continued)
- [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, 2016/12/13
- [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 <=
- [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
- [Emacs-diffs] master 8886f15 13/23: Remove XEmacs-specific minibuffer handling code from ispell.el, Reuben Thomas, 2016/12/13
- [Emacs-diffs] master 9e6618b 23/23: Remove support for aspell < 0.60 (from 2004), Reuben Thomas, 2016/12/13
- [Emacs-diffs] master a3ca97e 03/23: Remove unused ispell-looking-back, Reuben Thomas, 2016/12/13