changeset 20160:b8234ea503cd

(quail-require-guidance-buf): Adjusted for the change of input-method-verbose-flag.
author Kenichi Handa <handa@m17n.org>
date Thu, 23 Oct 1997 12:05:45 +0000
parents dce0d588d203
children 0d9c6ccdc45c
files lisp/international/quail.el
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/quail.el	Thu Oct 23 12:03:41 1997 +0000
+++ b/lisp/international/quail.el	Thu Oct 23 12:05:45 1997 +0000
@@ -1431,8 +1431,12 @@
 ;; buffer.
 (defun quail-require-guidance-buf ()
   (and input-method-verbose-flag
-       (not (and (eq (selected-window) (minibuffer-window))
-		 (quail-simple)))))
+       (if (eq input-method-verbose-flag 'default)
+	   (not (and (eq (selected-window) (minibuffer-window))
+		     (quail-simple)))
+	 (if (eq input-method-verbose-flag 'complex-only)
+	     (not (quail-simple))
+	   t))))
 
 (defun quail-show-guidance-buf ()
   "Display a guidance buffer for Quail input method in some window.