aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-11-03 00:42:27 -0700
committerGlenn Morris2010-11-03 00:42:27 -0700
commite337e22c2400355ea9a22a8114df9c5c2b849d78 (patch)
treeacceea12bc5872c97dbc9ae1c68f2a18c75afc61
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.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/textmodes/ispell.el6
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ac2b8f484fa..52af63f7b20 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12010-11-03 Glenn Morris <rgm@gnu.org> 12010-11-03 Glenn Morris <rgm@gnu.org>
2 2
3 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4 set-process-query-on-exit-flag.
5
3 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs. 6 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4 7
5 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix. 8 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
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)