diff options
| author | Nick Roberts | 2006-07-31 06:05:04 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-07-31 06:05:04 +0000 |
| commit | ab5e2abdcabcd3921f73b451e799f3146e46e0f1 (patch) | |
| tree | 66eb0130696124e4f7bdb86a195e4203c05d14fc | |
| parent | 36f8f49f38ecce74b42ef8dfbcc79df9a54919f9 (diff) | |
| download | emacs-ab5e2abdcabcd3921f73b451e799f3146e46e0f1.tar.gz emacs-ab5e2abdcabcd3921f73b451e799f3146e46e0f1.zip | |
(t-mouse-mode): Use set-process-query-on-exit-flag.
| -rw-r--r-- | lisp/t-mouse.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/t-mouse.el b/lisp/t-mouse.el index 17d486749b3..06b77840c0d 100644 --- a/lisp/t-mouse.el +++ b/lisp/t-mouse.el | |||
| @@ -292,9 +292,7 @@ Turn it on to use emacs mouse commands, and off to use t-mouse commands." | |||
| 292 | "-f"))) | 292 | "-f"))) |
| 293 | (setq t-mouse-filter-accumulator "") | 293 | (setq t-mouse-filter-accumulator "") |
| 294 | (set-process-filter t-mouse-process 't-mouse-process-filter) | 294 | (set-process-filter t-mouse-process 't-mouse-process-filter) |
| 295 | ; use commented line instead for emacs 21.4 onwards | 295 | (set-process-query-on-exit-flag t-mouse-process nil))) |
| 296 | (process-kill-without-query t-mouse-process))) | ||
| 297 | ; (set-process-query-on-exit-flag t-mouse-process nil))) | ||
| 298 | ;; Turn it off | 296 | ;; Turn it off |
| 299 | (setq mouse-position-function nil) | 297 | (setq mouse-position-function nil) |
| 300 | (delete-process t-mouse-process) | 298 | (delete-process t-mouse-process) |