emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 34/51: [gnugo int] Use ‘set-p rocess-query-on-exit-flag’.


From: Thien-Thi Nguyen
Subject: [elpa] 34/51: [gnugo int] Use ‘set-p rocess-query-on-exit-flag’.
Date: Mon, 24 Feb 2014 12:30:23 +0000

ttn pushed a commit to branch master
in repository elpa.

commit 2b128a9180cba49842be388bf684f62f311e1103
Author: Thien-Thi Nguyen <address@hidden>
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]