]> git.eshelyaron.com Git - emacs.git/commitdiff
Silence ispell.el compilation.
authorGlenn Morris <rgm@gnu.org>
Wed, 3 Nov 2010 07:42:27 +0000 (00:42 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 3 Nov 2010 07:42:27 +0000 (00:42 -0700)
* lisp/textmodes/ispell.el (ispell-init-process): On Emacs, always use
set-process-query-on-exit-flag.

lisp/ChangeLog
lisp/textmodes/ispell.el

index ac2b8f484faad99a1e813f0bad6d7137d36fdc0f..52af63f7b20bbb16071f9df8598c49c3db68014c 100644 (file)
@@ -1,5 +1,8 @@
 2010-11-03  Glenn Morris  <rgm@gnu.org>
 
+       * textmodes/ispell.el (ispell-init-process): On Emacs, always use
+       set-process-query-on-exit-flag.
+
        * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
 
        * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
index b75b232b43c698b28a7fdc5598b3b8c865e9deee..eab64fbc432646bca8f1d0859caa69db045267ce 100644 (file)
@@ -2740,9 +2740,11 @@ Keeps argument list for future ispell invocations for no async support."
        (if extended-char-mode          ; ~ extended character mode
            (ispell-send-string (concat extended-char-mode "\n"))))
       (if ispell-async-processp
-         (if (fboundp 'set-process-query-on-exit-flag) ;; not XEmacs
+         (if (featurep 'emacs)
              (set-process-query-on-exit-flag ispell-process nil)
-           (process-kill-without-query ispell-process))))))
+           (if (fboundp 'set-process-query-on-exit-flag)
+               (set-process-query-on-exit-flag ispell-process nil)
+             (process-kill-without-query ispell-process)))))))
 
 ;;;###autoload
 (defun ispell-kill-ispell (&optional no-error)