ttn pushed a commit to branch master in repository elpa. commit 2b128a9180cba49842be388bf684f62f311e1103 Author: Thien-Thi Nguyen <t...@gnu.org> Date: Sat Feb 15 12:04:45 2014 +0100
[gnugo int] Use ‘set-process-query-on-exit-flag’. * packages/gnugo/gnugo.el (gnugo-board-mode): ...here, instead of avoiding ‘process-kill-buffer-query-function’. --- packages/gnugo/gnugo.el | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el index 684a282..1d5d5a5 100644 --- a/packages/gnugo/gnugo.el +++ b/packages/gnugo/gnugo.el @@ -1717,9 +1717,7 @@ In this mode, keys do not self insert. Default keybindings: "--mode" "gtp" "--quiet" proc-args))) ;; Emacs is too protective sometimes, blech. - (remove-hook (make-local-variable 'kill-buffer-query-functions) - 'process-kill-buffer-query-function - t) + (set-process-query-on-exit-flag (gnugo-get :proc) nil) (when (or minus-l infile) (mapc (lambda (x) (apply (lambda (prop q)