]> git.eshelyaron.com Git - emacs.git/commitdiff
(quail-require-guidance-buf): Adjusted
authorKenichi Handa <handa@m17n.org>
Thu, 23 Oct 1997 12:05:45 +0000 (12:05 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 23 Oct 1997 12:05:45 +0000 (12:05 +0000)
for the change of input-method-verbose-flag.

lisp/international/quail.el

index 4191f61255add705976d92bc98552144cb192238..f4acccbc4114e51aa703c9c6e94f3013c17a53c4 100644 (file)
@@ -1431,8 +1431,12 @@ Remaining args are for FUNC."
 ;; 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.