# HG changeset patch # User Juri Linkov # Date 1140213275 0 # Node ID 064f4da012f57fcb90d7a5e5aa70d9d4aff56d44 # Parent 72b641ca5ff31907e54bf27f40fb702690c94437 (icomplete-get-keys): Use `t' for the second arg `visible-ok' of `other-buffer' to find the right original buffer. diff -r 72b641ca5ff3 -r 064f4da012f5 lisp/icomplete.el --- 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