(apropos-match-keys): Handle non-chars as keys.

This commit is contained in:
Richard M. Stallman 1993-01-04 11:36:14 +00:00
parent 8fabe6f428
commit 5c600c5c2f

View file

@ -276,7 +276,9 @@ Returns list of symbols and documentation found."
(and (symbolp command)
(if regexp (string-match regexp (symbol-name command)))
(setq item (assq command alist))
(setq key (concat sequence (char-to-string key)))
(if (or (vectorp sequence) (not (integerp key)))
(setq key (vconcat sequence (vector key)))
(setq key (concat sequence (char-to-string key))))
;; checking if shadowed by local binding.
;; either no local map, no local binding, or runs off the
;; binding tree (number), or is the same binding