]> code.delx.au - gnu-emacs/commitdiff
(icomplete-get-keys): Use `t' for the second arg `visible-ok'
authorJuri Linkov <juri@jurta.org>
Fri, 17 Feb 2006 21:54:35 +0000 (21:54 +0000)
committerJuri Linkov <juri@jurta.org>
Fri, 17 Feb 2006 21:54:35 +0000 (21:54 +0000)
of `other-buffer' to find the right original buffer.

lisp/icomplete.el

index 191f1d324e64afb1b59a134baf5489bab0cb90c2..f53ef7c91d17c93dac17a25fd88a541f8d8f59e5 100644 (file)
@@ -146,7 +146,7 @@ is minibuffer."
   (if (commandp func-name)
     (save-excursion
       (let* ((sym (intern func-name))
-            (buf (other-buffer))
+            (buf (other-buffer nil t))
             (map (save-excursion (set-buffer buf) (current-local-map)))
             (keys (where-is-internal sym map)))
        (if keys