OSDN Git Service

apply a patch from Hiroki Sato <hrs@allbsd.org>
authorMitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
Sun, 1 Feb 2015 06:55:40 +0000 (15:55 +0900)
committerMitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
Sun, 1 Feb 2015 06:55:40 +0000 (15:55 +0900)
* egg.el(egg-exit-from-minibuffer): applied patch from
Hiroki Sato <hrs@allbsd.org>.
He found a modified leak in tamago-tsunagi.
https://sourceforge.jp/projects/tamago-tsunagi/lists/archive/misc/2015-February/000085.html

modified:   ChangeLog
modified:   egg.el

ChangeLog
egg.el

index 972e248..678b891 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-01  Mitsutoshi NAKANO  <bkbin005@rinku.zaq.ne.jp>
+
+       * egg.el(egg-exit-from-minibuffer): applied patch from
+       Hiroki Sato <hrs@allbsd.org>.
+       He found a modified leak in tamago-tsunagi.
+       https://sourceforge.jp/projects/tamago-tsunagi/lists/archive/misc/2015-February/000085.html
+
 2015-01-31  Mitsutoshi NAKANO  <bkbin005@rinku.zaq.ne.jp>
 
        * Makefile.in(datarootdir): defined @datarootdir@, fixed #34855
diff --git a/egg.el b/egg.el
index 56e68ae..ca4dbdc 100644 (file)
--- a/egg.el
+++ b/egg.el
@@ -2,6 +2,7 @@
 
 ;; Copyright (C) 1999-2015 Free Software Foundation, Inc
 ;;               2014, 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+;;               2015 Hiroki Sato <hrs@allbsd.org>
 
 ;; Author: NIIBE Yutaka <gniibe@chroot.org>
 ;;         KATAYAMA Yoshio <kate@pfu.co.jp>
 
 (defun egg-exit-from-minibuffer ()
   (if (boundp 'deactivate-input-method)
-      deactivate-input-method
-    inactivate-input-method)
+      (deactivate-input-method)
+    (inactivate-input-method))
   (if (<= (minibuffer-depth) 1)
       (remove-hook 'minibuffer-exit-hook 'egg-exit-from-minibuffer)))