aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorGlenn Morris2010-11-03 00:42:27 -0700
committerGlenn Morris2010-11-03 00:42:27 -0700
commite337e22c2400355ea9a22a8114df9c5c2b849d78 (patch)
treeacceea12bc5872c97dbc9ae1c68f2a18c75afc61 /lisp/textmodes
parenta88e24ddddd78028e6407a45795d2df680d1ca1f (diff)
downloademacs-e337e22c2400355ea9a22a8114df9c5c2b849d78.tar.gz
emacs-e337e22c2400355ea9a22a8114df9c5c2b849d78.zip
Silence ispell.el compilation.
* lisp/textmodes/ispell.el (ispell-init-process): On Emacs, always use set-process-query-on-exit-flag.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index b75b232b43c..eab64fbc432 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2740,9 +2740,11 @@ Keeps argument list for future ispell invocations for no async support."
2740 (if extended-char-mode ; ~ extended character mode 2740 (if extended-char-mode ; ~ extended character mode
2741 (ispell-send-string (concat extended-char-mode "\n")))) 2741 (ispell-send-string (concat extended-char-mode "\n"))))
2742 (if ispell-async-processp 2742 (if ispell-async-processp
2743 (if (fboundp 'set-process-query-on-exit-flag) ;; not XEmacs 2743 (if (featurep 'emacs)
2744 (set-process-query-on-exit-flag ispell-process nil) 2744 (set-process-query-on-exit-flag ispell-process nil)
2745 (process-kill-without-query ispell-process)))))) 2745 (if (fboundp 'set-process-query-on-exit-flag)
2746 (set-process-query-on-exit-flag ispell-process nil)
2747 (process-kill-without-query ispell-process)))))))
2746 2748
2747;;;###autoload 2749;;;###autoload
2748(defun ispell-kill-ispell (&optional no-error) 2750(defun ispell-kill-ispell (&optional no-error)