Commit 4afd234b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(icomplete-get-keys): Look up KEYS using all maps in proper buffer.

parent d6169680
2008-01-18 Richard Stallman <rms@gnu.org>
* icomplete.el (icomplete-get-keys):
Look up KEYS using all maps in proper buffer.
2008-01-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2008-01-17 Miles Bader <miles@gnu.org>
 
......@@ -147,8 +147,7 @@ is minibuffer."
(save-excursion
(let* ((sym (intern func-name))
(buf (other-buffer nil t))
(map (save-excursion (set-buffer buf) (current-local-map)))
(keys (where-is-internal sym map)))
(keys (with-current-buffer buf (where-is-internal sym))))
(if keys
(concat "<"
(mapconcat 'key-description
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment