Fix anthy.el not to use process-kill-without-query which is deleted.

ok jca
This commit is contained in:
yasuoka 2020-11-09 22:43:46 +00:00
parent ef54d7c046
commit e9a995633b
2 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.26 2020/08/24 13:42:26 jca Exp $
# $OpenBSD: Makefile,v 1.27 2020/11/09 22:43:46 yasuoka Exp $
COMMENT-main = japanese input method
COMMENT-emacs = emacs files for anthy
@ -8,7 +8,7 @@ DISTNAME = anthy-$V
PKGNAME-main = anthy-$V
PKGNAME-emacs = emacs-anthy-$V
REVISION-main = 2
REVISION-emacs = 5
REVISION-emacs = 6
SHARED_LIBS += anthydic 1.0 # .1.0
SHARED_LIBS += anthy 1.0 # .1.0

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-src-util_anthy_el,v 1.2 2020/08/24 13:42:26 jca Exp $
$OpenBSD: patch-src-util_anthy_el,v 1.3 2020/11/09 22:43:46 yasuoka Exp $
- old-style backquotes are obsolete
- last-command-char is obsolete
@ -23,6 +23,15 @@ Index: src-util/anthy.el
;; buffer local variables
(anthy-deflocalvar anthy-context-id nil "$B%3%s%F%-%9%H$N(Bid")
@@ -745,7 +745,7 @@
(if anthy-agent-process
(kill-process anthy-agent-process))
(setq anthy-agent-process proc)
- (process-kill-without-query proc)
+ (set-process-query-on-exit-flag proc nil)
(if anthy-xemacs
(if (coding-system-p (find-coding-system 'euc-japan))
(set-process-coding-system proc 'euc-japan 'euc-japan))
@@ -892,7 +892,7 @@
((event-matches-key-specifier-p event 'backspace) 8)
(t