changeset 68983:064f4da012f5

(icomplete-get-keys): Use `t' for the second arg `visible-ok' of `other-buffer' to find the right original buffer.
author Juri Linkov <juri@jurta.org>
date Fri, 17 Feb 2006 21:54:35 +0000
parents 72b641ca5ff3
children 3399fee3fc7e
files lisp/icomplete.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/icomplete.el	Fri Feb 17 21:54:17 2006 +0000
+++ b/lisp/icomplete.el	Fri Feb 17 21:54:35 2006 +0000
@@ -146,7 +146,7 @@
   (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